OperationProtectionRequirements.ReadElements Method
Read the child elements of the <protection> element for a security policy assertion.
Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim reader As XmlReader
Dim name As String
Dim action As String
Dim operationProtectionRequirements1 As OperationProtectionRequirements
operationProtectionRequirements1.ReadElements(reader, name, action)
Syntax
'Declaration
Public Sub ReadElements( _
ByVal reader As XmlReader, _
ByVal name As String, _
<OutAttribute()> ByRef action As String _
)
public void ReadElements(
XmlReader reader,
string name,
out string action
);
public:
void ReadElements(
XmlReader^ reader,
String^ name,
[Out] String^% action
);
public void ReadElements(
XmlReader reader,
System.String name,
/*out*/System.String action
);
public function ReadElements(
reader : XmlReader,
name : String,
action : String
) : Void;
Parameters
- reader
The System.Xml.XmlReader from which to read.
- name
The name of the element to start reading from. Must be protection.
- action
The SOAP action for which these protection requirements apply.
Remarks
When operation requirements are specified in a policy file, the action attribute corresponds to 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