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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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) | Obsolete.
Executes a Command protocol.
|
| CommandTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Command protocol.
|
| CommandTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IEnumerableType1CommandMessageSection, IElementNameValidator, BsonDocument, ActionIMessageEncoderPostProcessor, CommandResponseHandling, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
|
| CommandAsyncTResult(DatabaseNamespace, BsonDocument, IElementNameValidator, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Command protocol.
|
| CommandAsyncTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, FuncCommandResponseHandling, Boolean, IBsonSerializerTResult, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Command protocol.
|
| CommandAsyncTResult(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IEnumerableType1CommandMessageSection, IElementNameValidator, BsonDocument, ActionIMessageEncoderPostProcessor, CommandResponseHandling, 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