MRUSecurityTokenCache.Contains Method
Returns a value indicating 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 mRUSecurityTokenCache1 As MRUSecurityTokenCache
returnValue = mRUSecurityTokenCache1.Contains(identifier)
Syntax
'Declaration
Public Overridable Function Contains( _
ByVal identifier As String _
) As Boolean
public virtual bool Contains(
string identifier
);
public:
virtual bool Contains(
String^ identifier
);
public virtual boolean Contains(
System.String identifier
);
public 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
MRUSecurityTokenCache Class
MRUSecurityTokenCache Members
Microsoft.Web.Services3.Security.Tokens Namespace