Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DispatcherSynchronizationContext::Send Method (SendOrPostCallback^, Object^)

 

Invokes the callback in the synchronization context synchronously.

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

public:
virtual void Send(
	SendOrPostCallback^ d,
	Object^ state
) override

Parameters

d
Type: System.Threading::SendOrPostCallback^

The delegate to call.

state
Type: System::Object^

The object passed to the delegate.

Exception Condition
ArgumentNullException

d is null.

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

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft