Partager via


UsernameTokenProvider.ReadXml Method

Reads the XML in the policy file that is associated with the <username> Element.

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

Usage

'Usage
Dim reader As XmlReader
Dim extensions As IDictionary
Dim usernameTokenProvider1 As UsernameTokenProvider
usernameTokenProvider1.ReadXml(reader, extensions)

Syntax

'Declaration
Public Overrides Sub ReadXml( _
    ByVal reader As XmlReader, _
    ByVal extensions As IDictionary(Of String, Type) _
)
public override void ReadXml(
    XmlReader reader, 
    IDictionary<string, Type> extensions
);
public:
virtual void ReadXml(
    XmlReader^ reader,
    IDictionary<String^, Type^>^ extensions
) override;
public override void ReadXml(
    XmlReader reader, 
    IDictionary<System.String, Type> extensions
);
In JScript, you cannot declare this method.

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

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