JoinableTaskFactory.PostToUnderlyingSynchronizationContext 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.
Posts a message to the specified underlying SynchronizationContext for processing when the main thread is freely available.
protected public:
virtual void PostToUnderlyingSynchronizationContext(System::Threading::SendOrPostCallback ^ callback, System::Object ^ state);
protected internal virtual void PostToUnderlyingSynchronizationContext (System.Threading.SendOrPostCallback callback, object state);
abstract member PostToUnderlyingSynchronizationContext : System.Threading.SendOrPostCallback * obj -> unit
override this.PostToUnderlyingSynchronizationContext : System.Threading.SendOrPostCallback * obj -> unit
Protected Friend Overridable Sub PostToUnderlyingSynchronizationContext (callback As SendOrPostCallback, state As Object)
Parameters
- callback
- SendOrPostCallback
The callback to invoke.
- state
- Object
State to pass to the callback.