Compartir a través de


AsyncResultHandle.WaitFor(TimeSpan, Func<Boolean>) Método

Definición

public System.Threading.Tasks.Task<bool> WaitFor (TimeSpan timeout, Func<bool> checkFlag);
member this.WaitFor : TimeSpan * Func<bool> -> System.Threading.Tasks.Task<bool>
Public Function WaitFor (timeout As TimeSpan, checkFlag As Func(Of Boolean)) As Task(Of Boolean)

Parámetros

timeout
TimeSpan
checkFlag
Func<Boolean>

Devoluciones

Devuelve true si la operación se completa antes del tiempo de espera.

Se aplica a