Share via


AuthenticationService.LoggedOut Event

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Occurs when a user is successfully logged out.

Namespace:  System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public Event LoggedOut As EventHandler(Of AuthenticationEventArgs)
'Usage
Dim instance As AuthenticationService
Dim handler As EventHandler(Of AuthenticationEventArgs)

AddHandler instance.LoggedOut, handler
public event EventHandler<AuthenticationEventArgs> LoggedOut
public:
 event EventHandler<AuthenticationEventArgs^>^ LoggedOut {
    void add (EventHandler<AuthenticationEventArgs^>^ value);
    void remove (EventHandler<AuthenticationEventArgs^>^ value);
}
member LoggedOut : IEvent<EventHandler<AuthenticationEventArgs>,
    AuthenticationEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event is raised when User changes from authenticated to anonymous.

See Also

Reference

AuthenticationService Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace