Table of Contents

Method AcquireConnection

Namespace
MongoDB.Driver.Core.ConnectionPools
Assembly
MongoDB.Driver.Core.dll

AcquireConnection(CancellationToken)

Acquires a connection.

IConnectionHandle AcquireConnection(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

IConnectionHandle

A connection.