Aracılığıyla paylaş


MongoDBProgress Constructor

Definition

Initializes a new instance of MongoDBProgress.

protected MongoDBProgress (long bytesCopied, long documentsCopied, string elapsedTime, System.Collections.Generic.IReadOnlyDictionary<string,Azure.ResourceManager.DataMigration.Models.MongoDBError> errors, long eventsPending, long eventsReplayed, Azure.ResourceManager.DataMigration.Models.MongoDBMigrationState state, long totalBytes, long totalDocuments);
new Azure.ResourceManager.DataMigration.Models.MongoDBProgress : int64 * int64 * string * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.DataMigration.Models.MongoDBError> * int64 * int64 * Azure.ResourceManager.DataMigration.Models.MongoDBMigrationState * int64 * int64 -> Azure.ResourceManager.DataMigration.Models.MongoDBProgress
Protected Sub New (bytesCopied As Long, documentsCopied As Long, elapsedTime As String, errors As IReadOnlyDictionary(Of String, MongoDBError), eventsPending As Long, eventsReplayed As Long, state As MongoDBMigrationState, totalBytes As Long, totalDocuments As Long)

Parameters

bytesCopied
Int64

The number of document bytes copied during the Copying stage.

documentsCopied
Int64

The number of documents copied during the Copying stage.

elapsedTime
String

The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format).

errors
IReadOnlyDictionary<String,MongoDBError>

The errors and warnings that have occurred for the current object. The keys are the error codes.

eventsPending
Int64

The number of oplog events awaiting replay.

eventsReplayed
Int64

The number of oplog events replayed so far.

totalBytes
Int64

The total number of document bytes on the source at the beginning of the Copying stage, or -1 if the total size was unknown.

totalDocuments
Int64

The total number of documents on the source at the beginning of the Copying stage, or -1 if the total count was unknown.

Exceptions

elapsedTime or errors is null.

Applies to