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

异常。

适用于