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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntaxpublic 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 |
---|
 | Command<TResult> |
Executes a Command protocol.
|
 | CommandAsync<TResult> |
Executes a Command protocol.
|
 | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
 | Query<TDocument>(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializer<TDocument>, MessageEncoderSettings, CancellationToken) |
Executes a Query protocol.
|
 | Query<TDocument>(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializer<TDocument>, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Query protocol.
|
 | QueryAsync<TDocument>(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializer<TDocument>, MessageEncoderSettings, CancellationToken) |
Executes a Query protocol.
|
 | QueryAsync<TDocument>(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializer<TDocument>, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Query protocol.
|
Top
See Also