Udostępnij za pośrednictwem


TokenProvider.WriteXml Method

When overridden in a derived class, writes the current security credentials as XML using the specified System.Xml.XmlWriter.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class
Dim writer As XmlWriter
Dim tokenProvider1 As TokenProvider(Of SomeType1)
tokenProvider1.WriteXml(writer)

Syntax

'Declaration
Public MustOverride Sub WriteXml( _
    ByVal writer As XmlWriter _
)
public abstract void WriteXml(
    XmlWriter writer
);
public:
virtual void WriteXml(
    XmlWriter^ writer
) abstract;
public abstract void WriteXml(
    XmlWriter writer
);
JScript does not support Generics.

Parameters

  • writer
    The System.Xml.XmlWriter with which to write the security credentials.

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