Partager via


DelegatingJoinableTaskFactory.PostToUnderlyingSynchronizationContext Method

Posts a message to the specified underlying SynchronizationContext for processing when the main thread is freely available.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Protected Friend Overrides Sub PostToUnderlyingSynchronizationContext ( _
    callback As SendOrPostCallback, _
    state As Object _
)
protected internal override void PostToUnderlyingSynchronizationContext(
    SendOrPostCallback callback,
    Object state
)
protected public:
virtual void PostToUnderlyingSynchronizationContext(
    SendOrPostCallback^ callback, 
    Object^ state
) override
abstract PostToUnderlyingSynchronizationContext : 
        callback:SendOrPostCallback * 
        state:Object -> unit  
override PostToUnderlyingSynchronizationContext : 
        callback:SendOrPostCallback * 
        state:Object -> unit
override function PostToUnderlyingSynchronizationContext(
    callback : SendOrPostCallback, 
    state : Object
)

Parameters

.NET Framework Security

See Also

Reference

DelegatingJoinableTaskFactory Class

Microsoft.VisualStudio.Threading Namespace