IValueTaskSource<TResult>.OnCompleted(Action<Object>, Object, Int16, ValueTaskSourceOnCompletedFlags) IValueTaskSource<TResult>.OnCompleted(Action<Object>, Object, Int16, ValueTaskSourceOnCompletedFlags) IValueTaskSource<TResult>.OnCompleted(Action<Object>, Object, Int16, ValueTaskSourceOnCompletedFlags) IValueTaskSource<TResult>.OnCompleted(Action<Object>, Object, Int16, ValueTaskSourceOnCompletedFlags) Method

Definition

Plant die Fortsetzungsaktion für diese IValueTaskSource<TResult>.Schedules the continuation action for this IValueTaskSource<TResult>.

public:
 void OnCompleted(Action<System::Object ^> ^ continuation, System::Object ^ state, short token, System::Threading::Tasks::Sources::ValueTaskSourceOnCompletedFlags flags);
public void OnCompleted (Action<object> continuation, object state, short token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags);
abstract member OnCompleted : Action<obj> * obj * int16 * System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags -> unit
Public Sub OnCompleted (continuation As Action(Of Object), state As Object, token As Short, flags As ValueTaskSourceOnCompletedFlags)

Parameter

continuation
Action<Object>

Die Fortsetzung, die aufgerufen wird, wenn der Vorgang abgeschlossen ist.The continuation to invoke when the operation has completed.

state
Object Object Object Object

Das Zustandsobjekt, das an continuation übergeben wird, wenn es aufgerufen wird.The state object to pass to continuation when it's invoked.

token
Int16 Int16 Int16 Int16

Ein transparenter Wert, der dem ValueTask-Konstruktor bereitgestellt wurde.An opaque value that was provided to the ValueTask constructor.

flags
ValueTaskSourceOnCompletedFlags ValueTaskSourceOnCompletedFlags ValueTaskSourceOnCompletedFlags ValueTaskSourceOnCompletedFlags

Die Flags, die das Verhalten der Fortsetzung beschreiben.The flags describing the behavior of the continuation.

Gilt für: