Condividi tramite


AsyncResultHandle.WaitFor(TimeSpan, Func<Boolean>) Metodo

Definizione

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)

Parametri

timeout
TimeSpan
checkFlag
Func<Boolean>

Restituisce

Restituisce true se l'operazione viene completata prima del timeout

Si applica a