Table of Contents

Method CreateCommand

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

CreateCommand(ConnectionDescription, ICoreSession)

Creates the command to be explained.

public BsonDocument CreateCommand(ConnectionDescription connectionDescription, ICoreSession session)

Parameters

connectionDescription ConnectionDescription

The connection description.

session ICoreSession

The session.

Returns

BsonDocument

The command.