Click or drag to resize

IChannelHandle Interface

Represents a handle to a channel.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public interface IChannelHandle : IChannel, 
	IDisposable

The IChannelHandle type exposes the following members.

Properties
  NameDescription
Public propertyConnectionDescription
Gets the connection description.
(Inherited from IChannel.)
Top
Methods
  NameDescription
Public methodCommand<TResult>(DatabaseNamespace, BsonDocument, IElementNameValidator, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken)
Executes a Command protocol.
(Inherited from IChannel.)
Public methodCommand<TResult>(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken)
Executes a Command protocol.
(Inherited from IChannel.)
Public methodCommandAsync<TResult>(DatabaseNamespace, BsonDocument, IElementNameValidator, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken)
Executes a Command protocol.
(Inherited from IChannel.)
Public methodCommandAsync<TResult>(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken)
Executes a Command protocol.
(Inherited from IChannel.)
Public methodDelete
Executes a Delete protocol.
(Inherited from IChannel.)
Public methodDeleteAsync
Executes a Delete protocol.
(Inherited from IChannel.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFork
Returns a new handle to the underlying channel.
Public methodGetMore<TDocument>
Executes a GetMore protocol.
(Inherited from IChannel.)
Public methodGetMoreAsync<TDocument>
Executes a GetMore protocol.
(Inherited from IChannel.)
Public methodInsert<TDocument>
Executes an Insert protocol.
(Inherited from IChannel.)
Public methodInsertAsync<TDocument>
Executes an Insert protocol.
(Inherited from IChannel.)
Public methodKillCursors
Executes a KillCursors protocol.
(Inherited from IChannel.)
Public methodKillCursorsAsync
Executes a KillCursors protocol.
(Inherited from IChannel.)
Public methodQuery<TDocument>
Executes a Query protocol.
(Inherited from IChannel.)
Public methodQueryAsync<TDocument>
Executes a Query protocol.
(Inherited from IChannel.)
Public methodUpdate
Executes an Update protocol.
(Inherited from IChannel.)
Public methodUpdateAsync
Executes an Update protocol.
(Inherited from IChannel.)
Top
See Also