SoapException::Role Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
[ComVisibleAttribute(false)]
property String^ Role {
	String^ get();
}

Property Value

Type: System::String^

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

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.

.NET Framework
Available since 2.0
Return to top
Show: