Represents a channel (similar to a connection but operates at the level of protocols rather than messages).
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 IChannel : IDisposable
Public Interface IChannel
Inherits IDisposable
type IChannel =
interface
interface IDisposable
end
The IChannel type exposes the following members.
Properties Methods
| Name | Description |
---|
| CommandTResult(DatabaseNamespace, BsonDocument, IElementNameValidator, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
|
| CommandTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
|
| CommandAsyncTResult(DatabaseNamespace, BsonDocument, IElementNameValidator, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
|
| CommandAsyncTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
|
| Delete |
Executes a Delete protocol.
|
| DeleteAsync |
Executes a Delete protocol.
|
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
| GetMoreTDocument |
Executes a GetMore protocol.
|
| GetMoreAsyncTDocument |
Executes a GetMore protocol.
|
| InsertTDocument |
Executes an Insert protocol.
|
| InsertAsyncTDocument |
Executes an Insert protocol.
|
| KillCursors |
Executes a KillCursors protocol.
|
| KillCursorsAsync |
Executes a KillCursors protocol.
|
| QueryTDocument |
Executes a Query protocol.
|
| QueryAsyncTDocument |
Executes a Query protocol.
|
| Update |
Executes an Update protocol.
|
| UpdateAsync |
Executes an Update protocol.
|
TopSee Also