Class SemaphoreSlimRequest

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Misc

Assembly

MongoDB.Driver.dll

Represents a tentative request to acquire a SemaphoreSlim.

public sealed class SemaphoreSlimRequest : IDisposable

Inheritance

SemaphoreSlimRequest

Implements

Inherited Members

Constructors

SemaphoreSlimRequest(SemaphoreSlim, CancellationToken)

Initializes a new instance of the SemaphoreSlimRequest class.

Properties

Task

Gets the semaphore wait task.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.