IValueTaskSource<TResult>.OnCompleted Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
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)
Parameters
- state
- Object
The state object to pass to continuation
when it's invoked.
The flags describing the behavior of the continuation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.