Initializes a new instance of the InvalidOperationException class based on another exception.

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public InvalidOperationException(
	string message,
	Exception innerException
)
Visual Basic
Public Sub New ( _
	message As String, _
	innerException As Exception _
)
Visual C++
public:
InvalidOperationException(
	String^ message, 
	Exception^ innerException
)

Parameters

message
Type: System..::..String
Descriptive text documenting the cause or source of the error.
innerException
Type: System..::..Exception
The inner exception the led to the throwing of this exception.

See Also