TokenProvider.ReadXml Method

When overridden in a derived class, reads the XML in the policy file that is associated with the security token.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class
Dim reader As XmlReader
Dim extensions As IDictionary
Dim tokenProvider1 As TokenProvider(Of SomeType1)
tokenProvider1.ReadXml(reader, extensions)

Syntax

'Declaration
Public MustOverride Sub ReadXml( _
    ByVal reader As XmlReader, _
    ByVal extensions As IDictionary(Of String, Type) _
)
public abstract void ReadXml(
    XmlReader reader, 
    IDictionary<string, Type> extensions
);
public:
virtual void ReadXml(
    XmlReader^ reader,
    IDictionary<String^, Type^>^ extensions
) abstract;
public abstract void ReadXml(
    XmlReader reader, 
    IDictionary<System.String, Type> extensions
);
JScript does not support Generics.

Parameters

  • reader
    The System.Xml.XmlReader from which to read.
  • extensions
    A System.Collections.Generic.IDictionary that contains the policy extensions registered in the policy file.

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

TokenProvider Class
TokenProvider Members
Microsoft.Web.Services3.Design Namespace