Table of Contents

Class ChannelSourceHandle

Namespace
MongoDB.Driver.Core.Bindings
Assembly
MongoDB.Driver.Core.dll

Represents a handle to a channel source.

[Obsolete("This class will be made internal in a later release.")]
public sealed class ChannelSourceHandle : IChannelSourceHandle, IChannelSource, IDisposable
Inheritance
ChannelSourceHandle
Implements
Inherited Members

Constructors

ChannelSourceHandle(IChannelSource)

Initializes a new instance of the ChannelSourceHandle class.

Properties

Server

Gets the server.

ServerDescription

Gets the server description.

Session

Gets the session.

Methods

Dispose()
Fork()

Returns a new handle to the underlying channel source.

GetChannel(CancellationToken)

Gets a channel.

GetChannelAsync(CancellationToken)

Gets a channel.