Table of Contents

Class ServerChannelSource

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

Represents a channel source that is bound to a server.

public sealed class ServerChannelSource : IChannelSource, IDisposable
Inheritance
ServerChannelSource
Implements
Inherited Members

Constructors

ServerChannelSource(IServer, ICoreSessionHandle)

Initializes a new instance of the ServerChannelSource class.

Properties

Server

Gets the server.

ServerDescription

Gets the server description.

Session

Gets the session.

Methods

Dispose()
GetChannel(CancellationToken)

Gets a channel.

GetChannelAsync(CancellationToken)

Gets a channel.