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
- timeout
Type: System. . :: . .TimeSpan
The maximum amount of time this method will wait.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.