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)
Protected Friend Overridable Sub PostToUnderlyingSynchronizationContext ( callback As SendOrPostCallback, state As Object )
Parameters
- callback
-
Type:
System.Threading.SendOrPostCallback
The callback
- state
-
Type:
System.Object
The state.
Show: