แก้ไข

แชร์ผ่าน


WSFederationAuthenticationModule.SignOutError Event

Definition

Raised when an error occurs during sign-out.

public:
 event EventHandler<System::IdentityModel::Services::ErrorEventArgs ^> ^ SignOutError;
public event EventHandler<System.IdentityModel.Services.ErrorEventArgs> SignOutError;
member this.SignOutError : EventHandler<System.IdentityModel.Services.ErrorEventArgs> 
Public Custom Event SignOutError As EventHandler(Of ErrorEventArgs) 
Public Event SignOutError As EventHandler(Of ErrorEventArgs) 

Event Type

Remarks

This event is raised through a call to the OnSignOutError method from inside the WSFederationAuthenticationModule.SignOut(Boolean) method while signing out of the session at the relying party (RP). The event is not raised when doing federated sign-out through the FederatedSignOut method.

The SignOutError event is a cancellable event. You can set the Cancel property in an event handler to prevent the exception that caused the error from being returned to the initiator of the sign-out.

Applies to