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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public interface IChannelHandle : IChannel, 
	IDisposable

The IChannelHandle type exposes the following members.

Properties
  NameDescription
Public propertyConnection
Gets the connection.
(Inherited from IChannel.)
Public propertyConnectionDescription
Gets the connection description.
(Inherited from IChannel.)
Top
Methods
  NameDescription
Public methodCommandTResult
Executes a Command protocol.
(Inherited from IChannel.)
Public methodCommandAsyncTResult
Executes a Command 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 methodQueryTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken)
Executes a Query protocol.
(Inherited from IChannel.)
Public methodQueryTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) Obsolete.
Executes a Query protocol.
(Inherited from IChannel.)
Public methodQueryAsyncTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken)
Executes a Query protocol.
(Inherited from IChannel.)
Public methodQueryAsyncTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) Obsolete.
Executes a Query protocol.
(Inherited from IChannel.)
Top
See Also