BinarySecurityToken.GetXml Method (XmlDocument, String)

Generates an XML representation of the BinarySecurityToken from the specified XML document.

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

Usage

'Usage
Public Class binarySecurityTokenImplementation
    Inherits BinarySecurityToken
        Protected Overrides Function GetXml(document As XmlDocument, _
            valueType As String)
            MyBase.GetXml(document, valueType)
        End Function
End Class

Syntax

'Declaration
Overloads Protected Function GetXml( _
    ByVal document As XmlDocument, _
    ByVal valueType As String _
) As XmlElement
protected XmlElement GetXml(
    XmlDocument document, 
    string valueType
);
protected:
XmlElement^ GetXml(
    XmlDocument^ document,
    String^ valueType
);
protected XmlElement GetXml(
    XmlDocument document, 
    System.String valueType
);
protected function GetXml(
     document : XmlDocument, 
     valueType : String
) : XmlElement;

Parameters

  • document
    An XmlDocument that the returned XmlElement will be added to eventually.
  • valueType
    The type of the security token.

Return Value

An XmlElement that contains the token type.

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

BinarySecurityToken Class
BinarySecurityToken Members
Microsoft.Web.Services3.Security.Tokens Namespace