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

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also