Share via


SerializableTokenWrapper.ReadXml Method

Populates the state of this class by using the specified XmlReader.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class
Dim reader As XmlReader
Dim serializableTokenWrapper1 As SerializableTokenWrapper(Of SomeType1)
serializableTokenWrapper1.ReadXml(reader)

Syntax

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

Parameters

  • reader
    An XmlReader positioned at an XML Element representing a SecurityToken , or pointing to "<null />"

Remarks

The ReadXml method will reconstitute the SerializableTokenWrapper object using the information that was written 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

SerializableTokenWrapper Class
SerializableTokenWrapper Members
Microsoft.Web.Services3.Security Namespace