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