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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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 |
Executes a Command protocol.
|
| CommandAsyncTResult |
Executes a Command protocol.
|
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
| QueryTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) |
Executes a Query protocol.
|
| QueryTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Query protocol.
|
| QueryAsyncTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) |
Executes a Query protocol.
|
| QueryAsyncTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Query protocol.
|
TopSee Also