ManualResetValueTaskSourceCore<TResult>.SetException(Exception) 方法

定義

完成並附帶錯誤。

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

參數

error
Exception

例外狀況。

適用於