共用方式為


InvocationConfiguration.EnableDefaultExceptionHandler 屬性

定義

取得或設定一個值,指示預設例外處理器是否捕捉呼叫過程中拋出的任何未處理異常。

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

屬性值

true 如果預設例外處理器能捕捉到在呼叫過程中拋出的任何未處理的異常。 預設值為 true

適用於