ErrorEventArgs ErrorEventArgs ErrorEventArgs Constructors

Definition

Overloads

ErrorEventArgs(Exception) ErrorEventArgs(Exception) ErrorEventArgs(Exception)

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

ErrorEventArgs(Boolean, Exception) ErrorEventArgs(Boolean, Exception) ErrorEventArgs(Boolean, Exception)

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

ErrorEventArgs(Exception) ErrorEventArgs(Exception) ErrorEventArgs(Exception)

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

public:
 ErrorEventArgs(Exception ^ exception);
public ErrorEventArgs (Exception exception);
new System.IdentityModel.Services.ErrorEventArgs : Exception -> System.IdentityModel.Services.ErrorEventArgs

Parameters

exception
Exception Exception Exception

The exception that occurred. Sets the Exception property.

Exceptions

Remarks

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

ErrorEventArgs(Boolean, Exception) ErrorEventArgs(Boolean, Exception) ErrorEventArgs(Boolean, Exception)

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

public:
 ErrorEventArgs(bool cancel, Exception ^ exception);
public ErrorEventArgs (bool cancel, Exception exception);
new System.IdentityModel.Services.ErrorEventArgs : bool * Exception -> System.IdentityModel.Services.ErrorEventArgs

Parameters

cancel
Boolean Boolean Boolean

The initial cancel state. Sets the Cancel property.

exception
Exception Exception Exception

The exception that occurred. Sets the Exception property.

Exceptions

Applies to