Redigeeri

Jagamisviis:


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)

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

ErrorEventArgs(Exception)

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

Properties

Cancel

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

(Inherited from CancelEventArgs)
Exception

Gets the exception that occurred.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to