InvalidOperationException(String, Exception) Constructor

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

Definition

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (7.0.9999.9999)
C#
public InvalidOperationException(
	string message,
	Exception innerException
)

Parameters

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

Version Information

.NET Standard

Supported in: 2.0

See Also