MongoDB .NET Driver API Documentation
MongoDB .NET Driver API Documentation
Namespaces
MongoDB.Driver.Core.Bindings
IChannel Interface
IChannel Methods
Command Method
Command(TResult) Method (DatabaseNamespace, BsonDocument, IElementNameValidator, Func(CommandResponseHandling), Boolean, IBsonSerializer(TResult), MessageEncoderSettings, CancellationToken)
Command(TResult) Method (ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IElementNameValidator, BsonDocument, Func(CommandResponseHandling), Boolean, IBsonSerializer(TResult), MessageEncoderSettings, CancellationToken)
Command(TResult) Method (ICoreSession, ReadPreference, DatabaseNamespace, BsonDocument, IEnumerable(Type1CommandMessageSection), IElementNameValidator, BsonDocument, Action(IMessageEncoderPostProcessor), CommandResponseHandling, IBsonSerializer(TResult), MessageEncoderSettings, CancellationToken)
IChannel
Command Method
Overload List
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.
Top
See Also
Reference
IChannel Interface
MongoDB.Driver.Core.Bindings Namespace
Copyright © 2010–present MongoDB Inc.
Send comments on this topic to
MongoDB