Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Protected Friend Overridable Sub PostToUnderlyingSynchronizationContext ( _
callback As SendOrPostCallback, _
state As Object _
)
protected internal virtual void PostToUnderlyingSynchronizationContext(
SendOrPostCallback callback,
Object state
)
protected public:
virtual void PostToUnderlyingSynchronizationContext(
SendOrPostCallback^ callback,
Object^ state
)
abstract PostToUnderlyingSynchronizationContext :
callback:SendOrPostCallback *
state:Object -> unit
override PostToUnderlyingSynchronizationContext :
callback:SendOrPostCallback *
state:Object -> unit
function PostToUnderlyingSynchronizationContext(
callback : SendOrPostCallback,
state : Object
)
Parameters
callback
Type: System.Threading.SendOrPostCallbackThe callback
state
Type: System.ObjectThe state.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.