Threading Threading
Threading Threading
DocFX + Singulink = ♥

Search Results for

    Constructor AsyncReadWriteLock

    AsyncReadWriteLock()

    Initializes a new instance of the AsyncReadWriteLock class that grants the lock in arrival order and measures time limits with System.

    Declaration
    public AsyncReadWriteLock()

    AsyncReadWriteLock(AsyncReadWriteLockPreference)

    Initializes a new instance of the AsyncReadWriteLock class with the specified preference that measures time limits with System.

    Declaration
    public AsyncReadWriteLock(AsyncReadWriteLockPreference preference)
    Parameters
    Type Name Description
    AsyncReadWriteLockPreference preference

    Who enters first when readers and writers both want the lock.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    preference is not a defined value.

    AsyncReadWriteLock(AsyncReadWriteLockPreference, TimeProvider)

    Initializes a new instance of the AsyncReadWriteLock class with the specified preference and time provider.

    Declaration
    public AsyncReadWriteLock(AsyncReadWriteLockPreference preference, TimeProvider timeProvider)
    Parameters
    Type Name Description
    AsyncReadWriteLockPreference preference

    Who enters first when readers and writers both want the lock.

    TimeProvider timeProvider

    The time provider that measures the time limits of the waits.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    preference is not a defined value.

    ArgumentNullException

    timeProvider is null.

    © Singulink. All rights reserved.