Share via


DispatcherOperation.Wait Method

Waits for the delegate on the dispatcher queue associated with the current DispatcherOperation object to complete.

Overload List

Name Description
DispatcherOperation.Wait () Waits for the delegate on the dispatcher queue associated with the current DispatcherOperation object to complete.
DispatcherOperation.Wait (TimeSpan) Waits for a specified amount of time for the delegate on the dispatcher queue to complete.

Remarks

To obtain the return value of the invoked delegate, use the Result property.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

DispatcherOperation Class
DispatcherOperation Members
Microsoft.SPOT Namespace