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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om