次の方法で共有


AuthenticationService.LoggedIn イベント

新しいユーザーがログインに成功したときに発生します。

名前空間: 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.LoggedIn, handler

構文

'宣言
Public Event LoggedIn As EventHandler(Of AuthenticationEventArgs)
public event EventHandler<AuthenticationEventArgs> LoggedIn
public:
event EventHandler<AuthenticationEventArgs^>^ LoggedIn {
    void add (EventHandler<AuthenticationEventArgs^>^ value);
    void remove (EventHandler<AuthenticationEventArgs^>^ value);
}
/** @event */
public void add_LoggedIn (EventHandler<AuthenticationEventArgs> value)

/** @event */
public void remove_LoggedIn (EventHandler<AuthenticationEventArgs> value)

解説

このイベントは、User が匿名から認証済みに変更された場合、またはある認証済み ID から別の認証済み ID に変更された場合に発生します。

プラットフォーム

開発プラットフォーム

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008、および Windows 2000

ターゲット プラットフォーム

参照

リファレンス

AuthenticationService クラス
AuthenticationService のメンバー
System.ServiceModel.DomainServices.Client.ApplicationServices 名前空間