ISecurityTokenCache.Contains Method

Returns a value that indicates whether a security token with the specified identifier exists in the cache.

Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim identifier As String
Dim returnValue As Boolean
Dim iSecurityTokenCache1 As ISecurityTokenCache
returnValue = iSecurityTokenCache1.Contains(identifier)

Syntax

'Declaration
Function Contains( _
    ByVal identifier As String _
) As Boolean
bool Contains(
    string identifier
);
public:
virtual bool Contains(
    String^ identifier
);
public boolean Contains(
    System.String identifier
);
function Contains(
     identifier : String
) : Boolean;

Parameters

  • identifier
    The identifier of the security token to search for in the cache.

Return Value

true if the cache contains a security token with the specified identifier; otherwise, false.

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 XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

ISecurityTokenCache Interface
ISecurityTokenCache Members
Microsoft.Web.Services3.Security.Tokens Namespace