Share via


MessageProtectionRequirements.WriteXml Method

Writes the protection requirements as XML in the specified XML element using the specified System.Xml.XmlWriter.

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

Usage

'Usage
Dim name As String
Dim writer As XmlWriter
Dim messageProtectionRequirements1 As MessageProtectionRequirements
messageProtectionRequirements1.WriteXml(name, writer)

Syntax

'Declaration
Public Sub WriteXml( _
    ByVal name As String, _
    ByVal writer As XmlWriter _
)
public void WriteXml(
    string name, 
    XmlWriter writer
);
public:
void WriteXml(
    String^ name,
    XmlWriter^ writer
);
public void WriteXml(
    System.String name, 
    XmlWriter writer
);
public function WriteXml(
     name : String, 
     writer : XmlWriter
) : Void;

Parameters

  • name
    The XML element to write the XML into.
  • writer
    The System.Xml.XmlWriter with which to write the protection requirements.

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

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