Cape Bad COParameter(String, Object) Constructor
Initializes a new instance of the CapeBadCOParameter class with the name of the parameter and the parameter that caused the exception.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public CapeBadCOParameter(
string parameterName,
Object parameter
)VB
Public Sub New (
parameterName As String,
parameter As Object
)Parameters
Remarks
This constructor initializes the Message property of the new instance to a
system-supplied message that describes the error, such as "An application
error has occurred." This message takes into account the current system
culture.