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
Syntaxpublic interface IChannelHandle : IChannel,
IDisposable
Public Interface IChannelHandle
Inherits IChannel, IDisposable
type IChannelHandle =
interface
interface IChannel
interface IDisposable
end
The IChannelHandle type exposes the following members.
Properties
Methods
| Name | Description |
---|
 | Command<TResult>(DatabaseNamespace, BsonDocument, IElementNameValidator, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
(Inherited from IChannel.) |
 | Command<TResult>(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
(Inherited from IChannel.) |
 | CommandAsync<TResult>(DatabaseNamespace, BsonDocument, IElementNameValidator, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
(Inherited from IChannel.) |
 | CommandAsync<TResult>(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
(Inherited from IChannel.) |
 | Delete |
Executes a Delete protocol.
(Inherited from IChannel.) |
 | DeleteAsync |
Executes a Delete protocol.
(Inherited from IChannel.) |
 | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
 | Fork |
Returns a new handle to the underlying channel.
|
 | GetMore<TDocument> |
Executes a GetMore protocol.
(Inherited from IChannel.) |
 | GetMoreAsync<TDocument> |
Executes a GetMore protocol.
(Inherited from IChannel.) |
 | Insert<TDocument> |
Executes an Insert protocol.
(Inherited from IChannel.) |
 | InsertAsync<TDocument> |
Executes an Insert protocol.
(Inherited from IChannel.) |
 | KillCursors |
Executes a KillCursors protocol.
(Inherited from IChannel.) |
 | KillCursorsAsync |
Executes a KillCursors protocol.
(Inherited from IChannel.) |
 | Query<TDocument> |
Executes a Query protocol.
(Inherited from IChannel.) |
 | QueryAsync<TDocument> |
Executes a Query protocol.
(Inherited from IChannel.) |
 | Update |
Executes an Update protocol.
(Inherited from IChannel.) |
 | UpdateAsync |
Executes an Update protocol.
(Inherited from IChannel.) |
Top
See Also