Represents a handle to a channel.
Namespace:
MongoDB.Driver.Core.Bindings
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntaxpublic interface IChannelHandle : IChannel,
IDisposable
Public Interface IChannelHandle
Inherits IChannel, IDisposable
type IChannelHandle =
interface
interface IChannel
interface IDisposable
end
The IChannelHandle type exposes the following members.
Properties
Methods
| Name | Description |
---|
![Public method Public method](../icons/pubmethod.gif) | CommandTResult |
Executes a Command protocol.
(Inherited from IChannel.) |
![Public method Public method](../icons/pubmethod.gif) | CommandAsyncTResult |
Executes a Command protocol.
(Inherited from IChannel.) |
![Public method Public method](../icons/pubmethod.gif) | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![Public method Public method](../icons/pubmethod.gif) | Fork |
Returns a new handle to the underlying channel.
|
![Public method Public method](../icons/pubmethod.gif) | QueryTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) |
Executes a Query protocol.
(Inherited from IChannel.) |
![Public method Public method](../icons/pubmethod.gif) | QueryTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Query protocol.
(Inherited from IChannel.) |
![Public method Public method](../icons/pubmethod.gif) | QueryAsyncTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) |
Executes a Query protocol.
(Inherited from IChannel.) |
![Public method Public method](../icons/pubmethod.gif) | QueryAsyncTDocument(CollectionNamespace, BsonDocument, BsonDocument, IElementNameValidator, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, IBsonSerializerTDocument, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Query protocol.
(Inherited from IChannel.) |
Top
See Also