AsyncVoidMethodBuilder.SetException(Exception) メソッド

定義

メソッド ビルダーに例外をバインドします。

public:
 void SetException(Exception ^ exception);
public void SetException (Exception exception);
member this.SetException : Exception -> unit
Public Sub SetException (exception As Exception)

パラメーター

exception
Exception

バインドする例外。

例外

exceptionnullです。

ビルダーが初期化されていません。

注釈

この型とそのメンバーは、コンパイラで使用することを目的としています。

適用対象