OperationProtectionRequirements.WriteElements Method
Write the <protection> element and its child elements.
Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim writer As XmlWriter
Dim name As String
Dim requestAction As String
Dim operationProtectionRequirements1 As OperationProtectionRequirements
operationProtectionRequirements1.WriteElements(writer, name, requestAction)
Syntax
'Declaration
Public Sub WriteElements( _
ByVal writer As XmlWriter, _
ByVal name As String, _
ByVal requestAction As String _
)
public void WriteElements(
XmlWriter writer,
string name,
string requestAction
);
public:
void WriteElements(
XmlWriter^ writer,
String^ name,
String^ requestAction
);
public void WriteElements(
XmlWriter writer,
System.String name,
System.String requestAction
);
public function WriteElements(
writer : XmlWriter,
name : String,
requestAction : String
) : Void;
Parameters
- writer
The System.Xml.XmlWriter with which to write the elements.
- name
The name of the XML element to write, which is typically protection.
- requestAction
The value of the requestAction attribute. The requestAction attribute specifies the value of the WS-Addressing Action SOAP header or, when that is not present, the value of the SOAPAction HTTP header.
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
OperationProtectionRequirements Class
OperationProtectionRequirements Members
Microsoft.Web.Services3.Design Namespace