Rediger

Del via


SoapMessage.Exception Property

Definition

Gets the SoapException from the call to the XML Web service method.

public:
 property System::Web::Services::Protocols::SoapException ^ Exception { System::Web::Services::Protocols::SoapException ^ get(); };
public:
 property System::Web::Services::Protocols::SoapException ^ Exception { System::Web::Services::Protocols::SoapException ^ get(); void set(System::Web::Services::Protocols::SoapException ^ value); };
public System.Web.Services.Protocols.SoapException Exception { get; }
public System.Web.Services.Protocols.SoapException Exception { get; set; }
member this.Exception : System.Web.Services.Protocols.SoapException
member this.Exception : System.Web.Services.Protocols.SoapException with get, set
Public ReadOnly Property Exception As SoapException
Public Property Exception As SoapException

Property Value

The SoapException that occurred in the call to the XML Web service method. null if no SoapException has occurred during the call to the Web Service method.

Remarks

The Exception property can be accessed during any SoapMessageStage.

Applies to

See also