ManualResetValueTaskSourceCore<TResult>.SetException(Exception) Metod

Definition

Slutförs med ett fel.

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

Parametrar

error
Exception

Undantaget som ska anges.

Gäller för