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

Исключение.

Применяется к