Threading Threading
Threading Threading
DocFX + Singulink = ♥

Search Results for

    Method Wait

    Wait(CancellationToken)

    Waits before another attempt.

    Declaration
    public void Wait(CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    A token that cancels the wait.

    Remarks

    The wait is the delay, or the time left until the time limit passes if that is shorter, rounded up to whole milliseconds. If the time limit has passed, the method returns at once. The calling thread is blocked during the wait.

    Exceptions
    Type Condition
    OperationCanceledException

    cancellationToken was canceled before or during the wait.

    © Singulink. All rights reserved.