Wait Method (TimeSpan)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Waits for a specified amount of time for the delegate on the dispatcher queue associated with the current DispatcherOperation object to complete.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Function Wait ( _
    timeout As TimeSpan _
) As DispatcherOperationStatus
public DispatcherOperationStatus Wait(
    TimeSpan timeout
)
public:
DispatcherOperationStatus Wait(
    TimeSpan timeout
)
member Wait : 
        timeout:TimeSpan -> DispatcherOperationStatus 
public function Wait(
    timeout : TimeSpan
) : DispatcherOperationStatus

Parameters

Return Value

Type: Microsoft.SPOT. . :: . .DispatcherOperationStatus
The status of the operation.

Remarks

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

.NET Framework Security

See Also

Reference

DispatcherOperation Class

Wait Overload

Microsoft.SPOT Namespace