SoapMessage.Exception 属性

定义

从对 XML Web services 方法的调用中获取 SoapException

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

属性值

在对 XML Web services 方法的调用中发生的 SoapExceptionnull 如果在调用 Web 服务方法期间未 SoapException 发生,则为 。

注解

可以在 Exception 任何 SoapMessageStage期间访问 属性。

适用于

另请参阅