ManualResetValueTaskSourceCore<TResult>.SetException(Exception) Methode

Definition

Wird mit einem Fehler abgeschlossen.

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

Parameter

error
Exception

Die Ausnahme.

Gilt für: