DelegatingJoinableTaskFactory::PostToUnderlyingSynchronizationContext Method (SendOrPostCallback^, Object^)

 

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

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

public protected:
virtual void PostToUnderlyingSynchronizationContext(
	SendOrPostCallback^ callback,
	Object^ state
) override

Parameters

callback
Type: System.Threading::SendOrPostCallback^

The callback to invoke.

state
Type: System::Object^

The state to pass to the callback.

Return to top
Show: