Export (0) Print
Expand All

WSFederationAuthenticationModule::SignOutError Event

.NET Framework 4.5

Raised when an error occurs during sign-out.

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

 event EventHandler<ErrorEventArgs^>^ SignOutError {
	void add (EventHandler<ErrorEventArgs^>^ value);
	void remove (EventHandler<ErrorEventArgs^>^ value);

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

Supported in: 4.6, 4.5
© 2015 Microsoft