AsyncTaskBaseWait Method
Waits for the task to complete, with a specified timeout. This method blocks
the calling thread until the task is completed or the specified timeout has elapsed, whichever comes first.
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public bool Wait(
int millisecondsTimeout
)
Public Function Wait (
millisecondsTimeout As Integer
) As Boolean
public:
bool Wait(
int millisecondsTimeout
)
member Wait :
millisecondsTimeout : int -> bool
- millisecondsTimeout Int32
- The number of milliseconds to wait, or Infinite (-1) to wait indefinitely.
Boolean if the task completed within the specified timeout; otherwise,
.