Share via


SecurityTokenReference.SerializationOptions Enumeration

Specifies how a security token reference is serialized into an XML representation.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim securityTokenReference_SerializationOptions1 As SecurityTokenReference.SerializationOptions = SecurityTokenReference.SerializationOptions.AbsoluteReference

Syntax

'Declaration
Public Enum SecurityTokenReference.SerializationOptions
public enum SecurityTokenReference.SerializationOptions
public enum class SecurityTokenReference.SerializationOptions
public enum SecurityTokenReference.SerializationOptions
public enum SecurityTokenReference.SerializationOptions

Members

Member name Description
AbsoluteReference The security token reference is serialized into a <Reference> element containing a URI attribute that specifies a URI not local to the SOAP message.
Embedded The security token reference is serialized into an <Embedded> element.
KeyIdentifier The security token reference is serialized into a <KeyIdentifier> element.
Reference The security token reference is serialized into a <Reference> element containing a URI attribute that specifies a URI local to the SOAP message.
RelativeReference The security token reference is serialized into a <Reference> element containing a URI attribute that specifies a URI local to the SOAP message.
Unknown The serialization mechanism has not been set.

Remarks

A security token reference in a security SOAP header is placed in a <SecurityTokenReference> element. However, there are different mechanisms to specify the details of the security token reference, all of which add child elements to the <SecurityTokenReference> element. This enumeration specifies how the security token reference details are serialized.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

Microsoft.Web.Services2.Security Namespace
SecurityTokenReference