共用方式為


SessionAuthenticationModule.SessionSecurityTokenReceived 事件

命名空間: Microsoft.IdentityModel.Web
組件: Microsoft.IdentityModel (在 microsoft.identitymodel.dll 中)

使用方式

    Dim instance As SessionAuthenticationModule
Dim handler As EventHandler(Of SessionSecurityTokenReceivedEventArgs)

AddHandler instance.SessionSecurityTokenReceived, handler

語法

'宣告
Public Event SessionSecurityTokenReceived As EventHandler(Of SessionSecurityTokenReceivedEventArgs)
public event EventHandler<SessionSecurityTokenReceivedEventArgs> SessionSecurityTokenReceived
public:
event EventHandler<SessionSecurityTokenReceivedEventArgs^>^ SessionSecurityTokenReceived {
    void add (EventHandler<SessionSecurityTokenReceivedEventArgs^>^ value);
    void remove (EventHandler<SessionSecurityTokenReceivedEventArgs^>^ value);
}
/** @event */
public void add_SessionSecurityTokenReceived (EventHandler<SessionSecurityTokenReceivedEventArgs> value)

/** @event */
public void remove_SessionSecurityTokenReceived (EventHandler<SessionSecurityTokenReceivedEventArgs> value)

平台

開發平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

請參閱

參考

SessionAuthenticationModule 類別
SessionAuthenticationModule 成員
Microsoft.IdentityModel.Web 命名空間