MongoBulkExecutor Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MongoBulkExecutor(DocumentClient, DocumentCollection) |
Obsolete.
|
MongoBulkExecutor(Uri, String, String, String, ConnectionPolicy, Nullable<ConsistencyLevel>, JsonSerializerSettings) |
MongoBulkExecutor(DocumentClient, DocumentCollection)
Caution
Constructor with DocumentClient and DocumentCollection is deprecated for MongoBulkExecutor, please use the constructor with account connection details instead.
[System.Obsolete("Constructor with DocumentClient and DocumentCollection is deprecated for MongoBulkExecutor, please use the constructor with account connection details instead.")]
public MongoBulkExecutor (Microsoft.Azure.Documents.Client.DocumentClient client, Microsoft.Azure.Documents.DocumentCollection documentCollection);
[<System.Obsolete("Constructor with DocumentClient and DocumentCollection is deprecated for MongoBulkExecutor, please use the constructor with account connection details instead.")>]
new Microsoft.Azure.CosmosDB.BulkExecutor.MongoBulkExecutor : Microsoft.Azure.Documents.Client.DocumentClient * Microsoft.Azure.Documents.DocumentCollection -> Microsoft.Azure.CosmosDB.BulkExecutor.MongoBulkExecutor
Public Sub New (client As DocumentClient, documentCollection As DocumentCollection)
Parameters
- client
- DocumentClient
- documentCollection
- DocumentCollection
- Attributes
Applies to
MongoBulkExecutor(Uri, String, String, String, ConnectionPolicy, Nullable<ConsistencyLevel>, JsonSerializerSettings)
public MongoBulkExecutor (Uri serviceEndpoint, string masterKey, string databaseName, string collectionName, Microsoft.Azure.Documents.Client.ConnectionPolicy connectionPolicy = default, Microsoft.Azure.Documents.ConsistencyLevel? desiredConsistencyLevel = default, Newtonsoft.Json.JsonSerializerSettings serializerSettings = default);
new Microsoft.Azure.CosmosDB.BulkExecutor.MongoBulkExecutor : Uri * string * string * string * Microsoft.Azure.Documents.Client.ConnectionPolicy * Nullable<Microsoft.Azure.Documents.ConsistencyLevel> * Newtonsoft.Json.JsonSerializerSettings -> Microsoft.Azure.CosmosDB.BulkExecutor.MongoBulkExecutor
Public Sub New (serviceEndpoint As Uri, masterKey As String, databaseName As String, collectionName As String, Optional connectionPolicy As ConnectionPolicy = Nothing, Optional desiredConsistencyLevel As Nullable(Of ConsistencyLevel) = Nothing, Optional serializerSettings As JsonSerializerSettings = Nothing)
Parameters
- serviceEndpoint
- Uri
- masterKey
- String
- databaseName
- String
- collectionName
- String
- connectionPolicy
- ConnectionPolicy
- desiredConsistencyLevel
- Nullable<ConsistencyLevel>
- serializerSettings
- Newtonsoft.Json.JsonSerializerSettings