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

定義

この操作の継続アクションをスケジュール設定します。Schedules the continuation action for this operation.

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);
member this.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)

パラメーター

continuation
Action<Object>

操作が完了したときに呼び出される継続。The continuation to invoke when the operation has completed.

state
Object Object Object Object

呼び出されたとき、continuation に渡す状態オブジェクト。The state object to pass to continuation when it's invoked.

token
Int16 Int16 Int16 Int16

ValueTask コンストラクターに渡された非透過的な値。An opaque value that was provided to the ValueTask constructor.

flags
ValueTaskSourceOnCompletedFlags ValueTaskSourceOnCompletedFlags ValueTaskSourceOnCompletedFlags ValueTaskSourceOnCompletedFlags

継続の動作を説明するフラグ。The flags describing the behavior of the continuation.

適用対象