Wait Method

Waits for specified period of time (in milliseconds) while overlapped read/write operation is in progress.

Syntax

Visual Basic .NET
Function Wait(ByVal time As UInt32) As Boolean 
Visual C#
Boolean Wait(UInt32 time);

Parameters

time

[in] time (in milliseconds) while waiting of overlapped read/write operation.

Return

Returns true if the operation is completed, false otherwise.