共用方式為


SessionAuthenticationModule.ContainsSessionTokenCookie 方法

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

使用方式

    Dim instance As SessionAuthenticationModule
Dim httpCookieCollection As HttpCookieCollection
Dim returnValue As Boolean

returnValue = instance.ContainsSessionTokenCookie(httpCookieCollection)

語法

'宣告
Public Function ContainsSessionTokenCookie ( _
    httpCookieCollection As HttpCookieCollection _
) As Boolean
public bool ContainsSessionTokenCookie (
    HttpCookieCollection httpCookieCollection
)
public:
bool ContainsSessionTokenCookie (
    HttpCookieCollection^ httpCookieCollection
)
public boolean ContainsSessionTokenCookie (
    HttpCookieCollection httpCookieCollection
)
public function ContainsSessionTokenCookie (
    httpCookieCollection : HttpCookieCollection
) : boolean

參數

  • httpCookieCollection
     

執行緒安全

任何這個類型的公用靜態 (在 Visual Basic 中為 共用) 成員都具備執行緒安全。不保證任何執行個體成員都具備執行緒安全。

平台

開發平台

Windows Server 2003, Windows Vista

Target Platforms

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

請參閱

參考

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