Click or drag to resize

IChannelSource.GetChannelAsync Method

Gets a channel.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
Task<IChannelHandle> GetChannelAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task<IChannelHandle>
A Task whose result is a channel.
See Also