Partager via


UsernameTokenProvider.WriteXml Method

Writes the current user name and password as XML using the specified System.Xml.XmlWriter.

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

Usage

'Usage
Dim writer As XmlWriter
Dim usernameTokenProvider1 As UsernameTokenProvider
usernameTokenProvider1.WriteXml(writer)

Syntax

'Declaration
Public Overrides Sub WriteXml( _
    ByVal writer As XmlWriter _
)
public override void WriteXml(
    XmlWriter writer
);
public:
virtual void WriteXml(
    XmlWriter^ writer
) override;
public override void WriteXml(
    XmlWriter writer
);
public override function WriteXml(
     writer : XmlWriter
) : Void;

Parameters

  • writer
    The System.Xml.XmlWriter with which to write the user name and password.

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