WSFederationAuthenticationModule.SignOutError Event

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Raised when an error occurs during sign-out.

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

public event EventHandler<ErrorEventArgs> SignOutError

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.

.NET Framework
Available since 4.5
Return to top