DriverException Constructor (String, Int32)
Click or drag to resize

DriverException Constructor (String, Int32)

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

Namespace:  ASCOM
Assembly:  ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (6.4.0.2624)
Syntax
public DriverException(
	string message,
	int number
)

Parameters

message
Type: SystemString
Descriptive text describing the cause of the exception
number
Type: SystemInt32
Error code for the exception (80040400 - 80040FFF).
See Also