다음을 통해 공유


IValueTaskSource<TResult>.OnCompleted 메서드

정의

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);
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)

매개 변수

continuation
Action<Object>

작업이 완료될 때 호출을 계속합니다.

state
Object

호출될 때 continuation에 전달할 상태 개체입니다.

token
Int16

ValueTask 생성자에 제공된 불투명 값입니다.

flags
ValueTaskSourceOnCompletedFlags

연속 작업을 설명하는 플래그입니다.

적용 대상