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
CollectionNamespaceThe collection namespace.
requests
IEnumerable<CreateIndexRequest>The requests.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.