IChannelSourceGetChannel Method |
Gets a channel.
Namespace: MongoDB.Driver.Core.BindingsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.3.0
Syntax IChannelHandle GetChannel(
CancellationToken cancellationToken
)
Function GetChannel (
cancellationToken As CancellationToken
) As IChannelHandle
abstract GetChannel :
cancellationToken : CancellationToken -> IChannelHandle
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
IChannelHandleA channel.
See Also