Condividi tramite


IMutableSecurityToken.Clone Method

Returns a clone of the security token.

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

Usage

'Usage
Dim returnValue As IMutableSecurityToken
Dim iMutableSecurityToken1 As IMutableSecurityToken
returnValue = iMutableSecurityToken1.Clone()

Syntax

'Declaration
Function Clone() As IMutableSecurityToken
IMutableSecurityToken Clone();
public:
virtual IMutableSecurityToken^ Clone();
public IMutableSecurityToken Clone();
function Clone() : IMutableSecurityToken;

Return Value

A SecurityToken that contains the same immutable components as the current token but with potentially differing mutable components.

Remarks

The cloned security token must be equivalent to the current one. That is, when the clone is passed to the security token's Equals method, the method should return true.

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

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