다음을 통해 공유


AsyncResultHandle.WaitFor(TimeSpan, Func<Boolean>) 메서드

정의

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)

매개 변수

timeout
TimeSpan
checkFlag
Func<Boolean>

반환

시간 제한 전에 작업이 완료되면 를 반환 true 합니다.

적용 대상