IntegrationExceptionEventArgs.ThrowException 屬性

定義

取得或設定值,指出是否引發 Exception 屬性所指定的 Exception

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

屬性值

Boolean

如果會引發 Exception,就是 true,否則就是 false。 預設為 false

備註

在事件處理常式中 ThrowException ,將 屬性的值設定為 true ,以指出應該引發例外狀況。

適用於

另請參閱