ErrorEventArgs ErrorEventArgs ErrorEventArgs ErrorEventArgs Class

Definition

Provides data for the SignOutError event.

public ref class ErrorEventArgs : System::ComponentModel::CancelEventArgs
public class ErrorEventArgs : System.ComponentModel.CancelEventArgs
type ErrorEventArgs = class
    inherit CancelEventArgs
Public Class ErrorEventArgs
Inherits CancelEventArgs
Inheritance

Remarks

ErrorEventArgs derives from the CancelEventArgs class, which provides data for a cancelable event. In an event handler you can set the Cancel property to true to cancel the event. For the SignOutError event, setting this property to true indicates that processing of the sign-out request should stop and the exception should not be propagated to the client.

The Exception property contains the underlying exception that resulted in the event being raised.

Constructors

ErrorEventArgs(Boolean, 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) ErrorEventArgs(Exception)

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

Properties

Cancel Cancel Cancel Cancel

Gets or sets a value indicating whether the event should be canceled.

(Inherited from CancelEventArgs)
Exception Exception Exception Exception

Gets the exception that occurred.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to