Share via


SerializableTokenWrapper.Token Property

Gets or sets the SecurityToken.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class

Dim serializableTokenWrapper1 As SerializableTokenWrapper(Of SomeType1)

Dim returnValue As SomeType1
returnValue = serializableTokenWrapper1.Token

Dim sampleValue As SomeType1
serializableTokenWrapper1.Token = sampleValue

Syntax

'Declaration
Public Property Token() As TSecurityToken
public TSecurityToken Token {get; set;}
public:
property TSecurityToken Token {
    TSecurityToken get();
    void set(TSecurityToken value);
}
public TSecurityToken get_Token();
public void set_Token(TSecurityToken);
JScript does not support Generics.

Property Value

The SecurityToken that this instance was configured with.

Remarks

Use this property to configure a SecurityToken to be serialized or to retrieve the SecurityToken after deserialization.

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

SerializableTokenWrapper Class
SerializableTokenWrapper Members
Microsoft.Web.Services3.Security Namespace