Table of Contents

Constructor CreateCollectionOperation

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

CreateCollectionOperation(CollectionNamespace, MessageEncoderSettings)

Initializes a new instance of the CreateCollectionOperation class.

public CreateCollectionOperation(CollectionNamespace collectionNamespace, MessageEncoderSettings messageEncoderSettings)

Parameters

collectionNamespace CollectionNamespace

The collection namespace.

messageEncoderSettings MessageEncoderSettings

The message encoder settings.