Export (0) Print
Expand All

SerializableTokenWrapper Generic Class

Represents a wrapper class for serializing a SecurityToken.

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

Public Class SomeType1
	Inherits SecurityToken
End Class
Dim serializableTokenWrapper1 As New SerializableTokenWrapper(Of SomeType1)()

public class SerializableTokenWrapper<TSecurityToken> : IXmlSerializable
	where TSecurityToken : SecurityToken
public class SerializableTokenWrapper<TSecurityToken> implements IXmlSerializable
	where TSecurityToken extends SecurityToken
JScript does not support Generics.

This class can be used to serialize either a built-in SecurityToken or a custom security token that inherits from SecurityToken.

This class is used to store a SecurityToken in a StateManager object. The most common use of this class is to automatically store a SecurityContextToken in the SessionState of the proxy. This SecurityContextToken is put in a SecureConversationCorrelationState which is a SerializableTokenWrapper. The intent is to enable the state from the SessionState to be easily serialized and deserialized.

     Derived Classes

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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

© 2014 Microsoft