DriverException(String, Int32) Constructor

Create a new ASCOM exception using the specified text message and error code.

Definition

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (7.0.9999.9999)
C#
public DriverException(
	string message,
	int number
)

Parameters

message  String
Descriptive text describing the cause of the exception
number  Int32
Error code for the exception (80040400 - 80040FFF).

Version Information

.NET

Supported in: .NET 8.0 and later

.NET Standard

Supported in: 2.0

See Also