JoinableTaskFactory::PostToUnderlyingSynchronizationContext Method (SendOrPostCallback^, Object^)
Visual Studio 2015
Posts a callback to the main thread via the underlying dispatcher, or to the threadpool when no dispatcher exists on the main thread.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
public protected: virtual void PostToUnderlyingSynchronizationContext( SendOrPostCallback^ callback, Object^ state )
Parameters
- callback
-
Type:
System.Threading::SendOrPostCallback^
The callback
- state
-
Type:
System::Object^
The state.
Show: