Partager via


DelegatingJoinableTaskFactory.PostToUnderlyingSynchronizationContext Method

Definition

Posts a message to the specified underlying SynchronizationContext for processing when the main thread is freely available.

protected public:
 override void PostToUnderlyingSynchronizationContext(System::Threading::SendOrPostCallback ^ callback, System::Object ^ state);
protected internal override void PostToUnderlyingSynchronizationContext (System.Threading.SendOrPostCallback callback, object state);
override this.PostToUnderlyingSynchronizationContext : System.Threading.SendOrPostCallback * obj -> unit
Protected Friend Overrides Sub PostToUnderlyingSynchronizationContext (callback As SendOrPostCallback, state As Object)

Parameters

callback
SendOrPostCallback

The callback to invoke.

state
Object

State to pass to the callback.

Applies to