StateManager.WriteXml Method

Writes the state information as XML using the specified System.Xml.XmlWriter.

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

Usage

'Usage
Dim writer As XmlWriter
Dim stateManager1 As StateManager
stateManager1.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
);
public final function WriteXml(
     writer : XmlWriter
) : Void;

Parameters

  • writer
    The System.Xml.XmlWriter with which to write the state information.

Remarks

When adding state information to the StateManager class, the state must implement the System.Xml.Serialization.IXmlSerializable interface in order to be written out as XML by the WriteXml method.

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

StateManager Class
StateManager Members
Microsoft.Web.Services3 Namespace