Export (0) Print
Expand All

SoapException.Actor Property

Gets the piece of code that caused the exception.

[Visual Basic]
Public ReadOnly Property Actor As String
public string Actor {get;}
public: __property String* get_Actor();
public function get Actor() : String;

Property Value

The piece of code that caused the exception.


Actor can only be set using one of the constructors that accept an 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 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 thus returned in the Actor property.

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SoapException Class | SoapException Members | System.Web.Services.Protocols Namespace | HtmlTable | Code

© 2015 Microsoft