DelegatingJoinableTaskFactory.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:
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.