共用方式為


SoapMessage.Exception 屬性

定義

取得 SoapException,其因呼叫 XML Web Service 方法而造成的。

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 Service 方法時所發生的。 null 如果在呼叫 Web 服務方法期間未 SoapException 發生 ,則為 。

備註

屬性 Exception 可以在任何 SoapMessageStage 期間存取。

適用於

另請參閱