ErrorEventArgs Constructor (Boolean, Exception^)

.NET Framework (current version)
 

Initializes a new instance of the ErrorEventArgs class with the specified cancel state and exception.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public:
ErrorEventArgs(
	bool cancel,
	Exception^ exception
)

Parameters

cancel
Type: System::Boolean

The initial cancel state. Sets the Cancel property.

exception
Type: System::Exception^

The exception that occurred. Sets the Exception property.

Exception Condition
ArgumentNullException

exception is null.

.NET Framework
Available since 4.5
Return to top
Show: