Condividi tramite


SerializableTokenWrapper.WriteXml Method

Converts the instance of this class to its XML representation and writes it to the stream pointed to by the XmlWriter.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class
Dim writer As XmlWriter
Dim serializableTokenWrapper1 As SerializableTokenWrapper(Of SomeType1)
serializableTokenWrapper1.WriteXml(writer)

Syntax

'Declaration
Public Sub WriteXml( _
    ByVal writer As XmlWriter _
)
public void WriteXml(
    XmlWriter writer
);
public:
virtual void arbitrary-name(
    XmlWriter^ writer
);
public void WriteXml(
    XmlWriter writer
);
JScript does not support Generics.

Parameters

  • writer
    The XmlWriter stream to which this object is serialized.

Remarks

If this object contained a SecurityToken, then the serialized XML would be the serialized token itself, otherwise it would "<null />".

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