Table of Contents

Constructor CreateIndexesOperation

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

CreateIndexesOperation(CollectionNamespace, IEnumerable<CreateIndexRequest>, MessageEncoderSettings)

Initializes a new instance of the CreateIndexesOperation class.

public CreateIndexesOperation(CollectionNamespace collectionNamespace, IEnumerable<CreateIndexRequest> requests, MessageEncoderSettings messageEncoderSettings)

Parameters

collectionNamespace CollectionNamespace

The collection namespace.

requests IEnumerable<CreateIndexRequest>

The requests.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.