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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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 |
---|
| Command<TResult>(DatabaseNamespace, BsonDocument, IElementNameValidator, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Command protocol.
|
| Command<TResult>(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Command protocol.
|
| Command<TResult>(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IEnumerable<Type1CommandMessageSection>, IElementNameValidator, BsonDocument, Action<IMessageEncoderPostProcessor>, CommandResponseHandling, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken) |
Executes a Command protocol.
|
| CommandAsync<TResult>(DatabaseNamespace, BsonDocument, IElementNameValidator, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Command protocol.
|
| CommandAsync<TResult>(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, Func<CommandResponseHandling>, Boolean, IBsonSerializer<TResult>, MessageEncoderSettings, CancellationToken) | Obsolete.
Executes a Command protocol.
|
| CommandAsync<TResult>(ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IEnumerable<Type1CommandMessageSection>, IElementNameValidator, BsonDocument, Action<IMessageEncoderPostProcessor>, CommandResponseHandling, IBsonSerializer<TResult>, 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.) |
| GetMore<TDocument> |
Executes a GetMore protocol.
|
| GetMoreAsync<TDocument> |
Executes a GetMore protocol.
|
| Insert<TDocument> |
Executes an Insert protocol.
|
| InsertAsync<TDocument> |
Executes an Insert protocol.
|
| KillCursors |
Executes a KillCursors protocol.
|
| KillCursorsAsync |
Executes a KillCursors protocol.
|
| Query<TDocument> |
Executes a Query protocol.
|
| QueryAsync<TDocument> |
Executes a Query protocol.
|
| Update |
Executes an Update protocol.
|
| UpdateAsync |
Executes an Update protocol.
|
TopSee Also