ErrorEventArgs Constructor (Exception^)

.NET Framework (current version)
 

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

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

public:
ErrorEventArgs(
	Exception^ exception
)

Parameters

exception
Type: System::Exception^

The exception that occurred. Sets the Exception property.

Exception Condition
ArgumentNullException

exception is null.

The Cancel property of the new ErrorEventArgs instance is initialized to false; the event is not cancelled.

.NET Framework
Available since 4.5
Return to top
Show: