Table of Contents

Constructor SemaphoreSlimRequest

Namespace
MongoDB.Driver.Core.Misc
Assembly
MongoDB.Driver.Core.dll

SemaphoreSlimRequest(SemaphoreSlim, CancellationToken)

Initializes a new instance of the SemaphoreSlimRequest class.

public SemaphoreSlimRequest(SemaphoreSlim semaphore, CancellationToken cancellationToken)

Parameters

semaphore SemaphoreSlim

The semaphore.

cancellationToken CancellationToken

The cancellation token.