SoapMessage.Exception 属性

定义

从对 XML Web services 方法的调用中获取 SoapExceptionGets 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

属性值

SoapException

在对 XML Web services 方法的调用中发生的 SoapExceptionThe SoapException that occurred in the call to the XML Web service method. null 如果在 SoapException 调用 Web 服务方法的过程中未发生,则为。null if no SoapException has occurred during the call to the Web Service method.

注解

Exception可以在任何过程中访问属性 SoapMessageStageThe Exception property can be accessed during any SoapMessageStage.

适用于

另请参阅