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.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
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