Export (0) Print
Expand All

DispatcherSynchronizationContext.Post Method

Invokes the callback in the synchronization context asynchronously.

Namespace:  System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

public override void Post(
	SendOrPostCallback d,
	Object state
)
You cannot use methods in XAML.

Parameters

d
Type: System.Threading.SendOrPostCallback

The delegate to call.

state
Type: System.Object

The object passed to the delegate.

ExceptionCondition
ArgumentNullException

d is null.

The delegate is put in the dispatcher queue at a priority of Normal.

Post starts an asynchronous request to post a message.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft