다음을 통해 공유


TokenReplayCache.TryGet 메서드

네임스페이스: Microsoft.IdentityModel.Tokens
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)

사용법

    Dim instance As TokenReplayCache
Dim key As String
Dim securityToken As SecurityToken
Dim returnValue As Boolean

returnValue = instance.TryGet(key, securityToken)

구문

‘선언
Public MustOverride Function TryGet ( _
    key As String, _
    <OutAttribute> ByRef securityToken As SecurityToken _
) As Boolean
public abstract bool TryGet (
    string key,
    out SecurityToken securityToken
)
public:
virtual bool TryGet (
    String^ key, 
    [OutAttribute] SecurityToken^% securityToken
) abstract
public abstract boolean TryGet (
    String key, 
    /** @attribute OutAttribute() */ /** @ref */ SecurityToken securityToken
)

매개 변수

  • key
     
  • securityToken
     

스레드 안전성

이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows Server 2003, Windows Vista

Target Platforms

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

참고 항목

참조

TokenReplayCache 클래스
TokenReplayCache 멤버
Microsoft.IdentityModel.Tokens 네임스페이스