Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft