Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As DefaultTokenReplayCache
Dim key As String
Dim securityToken As SecurityToken
Dim returnValue As Boolean

returnValue = instance.TryGet(key, securityToken)

Syntax

Visual Basic
Public Overrides Function TryGet ( _
		key As String, _
		<OutAttribute> ByRef securityToken As SecurityToken _
) As Boolean
C#
public override bool TryGet (
		string key,
		out SecurityToken securityToken
)
C++
public:
virtual bool TryGet (
		String^ key, 
		[OutAttribute] SecurityToken^% securityToken
) override
J#
public boolean TryGet (
		String key, 
		/** @attribute OutAttribute() */ /** @ref */ SecurityToken securityToken
)
JScript

Parameters

key
securityToken

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also