AuthenticationService.LoggedOut
當使用者成功登出時發生。
命名空間: System.ServiceModel.DomainServices.Client.ApplicationServices
組件: System.ServiceModel.DomainServices.Client (於 system.servicemodel.domainservices.client.dll)
使用方式
'用途
Dim instance As AuthenticationService
Dim handler As EventHandler(Of AuthenticationEventArgs)
AddHandler instance.LoggedOut, handler
語法
'宣告
Public Event LoggedOut As EventHandler(Of AuthenticationEventArgs)
public event EventHandler<AuthenticationEventArgs> LoggedOut
public:
event EventHandler<AuthenticationEventArgs^>^ LoggedOut {
void add (EventHandler<AuthenticationEventArgs^>^ value);
void remove (EventHandler<AuthenticationEventArgs^>^ value);
}
/** @event */
public void add_LoggedOut (EventHandler<AuthenticationEventArgs> value)
/** @event */
public void remove_LoggedOut (EventHandler<AuthenticationEventArgs> value)
備註
當 User 從已驗證變更為匿名時,將會引發這個事件。
平台
開發平台
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008 和 Windows 2000
目標平台
另請參閱
參考
AuthenticationService 類別
AuthenticationService 成員
System.ServiceModel.DomainServices.Client.ApplicationServices 命名空間