SoapException.Role Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.