Table of Contents

Method GetChannelAsync

Namespace
MongoDB.Driver.Core.Servers
Assembly
MongoDB.Driver.Core.dll

GetChannelAsync(CancellationToken)

Gets a channel to the server.

Task<IChannelHandle> GetChannelAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IChannelHandle>

A Task whose result is a channel.