HandleExceptionArgs.Exception 屬性

定義

取得或設定將被處理並在回應中回傳的例外。

public:
 property Exception ^ Exception { Exception ^ get(); void set(Exception ^ value); };
public Exception Exception { get; set; }
member this.Exception : Exception with get, set
Public Property Exception As Exception

屬性值

例外會被處理並在回應中回傳。

備註

若例外為 DataServiceException,例外訊息將永遠回傳給用戶端,無論值為 UseVerboseErrors 何。 若 UseVerboseErrors 為真,內部例外也會回傳給用戶端;否則只會 DataServiceException 回傳訊息。

適用於