Επεξεργασία

Κοινή χρήση μέσω


SoapException.Role Property

Definition

Gets a URI that represents the XML Web service's function in processing the SOAP message.

public:
 property System::String ^ Role { System::String ^ get(); };
[System.Runtime.InteropServices.ComVisible(false)]
public string Role { get; }
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Role : string
Public ReadOnly Property Role As String

Property Value

The role of the XML Web service throwing the SoapException. The default is Empty.

Attributes

Remarks

The Role property is ignored when the SOAP protocol version 1.1 is used to communicate with an XML Web service. When SOAP 1.2 is used, the Role property sets the role element within a fault element of a SOAP message.

Applies to