IValueTaskSource<TResult>.OnCompleted Yöntem

Tanım

Bu IValueTaskSource<TResult>için devamlılık eylemini zamanlar.

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)

Parametreler

continuation
Action<Object>

İşlem tamamlandığında çağrılmaya devam edilir.

state
Object

Çağrıldığında geçirilen continuation durum nesnesi.

token
Int16

Oluşturucuya ValueTask sağlanan opak bir değer.

flags
ValueTaskSourceOnCompletedFlags

Devamlılık davranışını açıklayan bayraklar.

Şunlara uygulanır