System.Web.Services.Protocols.SoapException.Actor Property

Gets the piece of code that caused the exception.

Syntax

public string Actor { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The SoapException.Actor property can only be set using one of the constructors that accepts an SoapException.Actor argument.

When a SOAP request is made, the message is sent to a recipient, which is specified in a SOAP actor attribute. If an exception occurs within an XML Web service, the value of the SOAP actor attribute is assigned to the SoapException.Actor property. For XML Web services created using ASP.NET, the URL to the XML Web service method is the value of the SOAP actor attribute and is returned in the SoapException.Actor property.

For more information on the SOAP actor attribute, see the SOAP specification at http://www.w3.org/TR/SOAP/.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0