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.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
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 methodCommandTResult(DatabaseNamespace, BsonDocument, IElementNameValidator, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) Obsolete.
Executes a Command protocol.
(Inherited from IChannel.)
Public methodCommandTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) Obsolete.
Executes a Command protocol.
(Inherited from IChannel.)
Public methodCommandTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IEnumerableType1CommandMessageSection, IElementNameValidator, BsonDocument, ActionIMessageEncoderPostProcessor, CommandResponseHandling, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken)
Executes a Command protocol.
(Inherited from IChannel.)
Public methodCommandAsyncTResult(DatabaseNamespace, BsonDocument, IElementNameValidator, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) Obsolete.
Executes a Command protocol.
(Inherited from IChannel.)
Public methodCommandAsyncTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) Obsolete.
Executes a Command protocol.
(Inherited from IChannel.)
Public methodCommandAsyncTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IEnumerableType1CommandMessageSection, IElementNameValidator, BsonDocument, ActionIMessageEncoderPostProcessor, CommandResponseHandling, IBsonSerializerTResult, 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 methodGetMoreTDocument
Executes a GetMore protocol.
(Inherited from IChannel.)
Public methodGetMoreAsyncTDocument
Executes a GetMore protocol.
(Inherited from IChannel.)
Public methodInsertTDocument
Executes an Insert protocol.
(Inherited from IChannel.)
Public methodInsertAsyncTDocument
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 methodQueryTDocument
Executes a Query protocol.
(Inherited from IChannel.)
Public methodQueryAsyncTDocument
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