JoinableTaskFactory.PostToUnderlyingSynchronizationContext Method (SendOrPostCallback, Object)

 

Posts a callback to the main thread via the underlying dispatcher, or to the threadpool when no dispatcher exists on the main thread.

Namespace:   Microsoft.VisualStudio.Threading
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.

Return to top
Show: