Skip to main content

ProgressEventArgs

  • Namespace: PPDS.Migration.Progress
  • Assembly: PPDS.Migration
  • Kind: Class
  • Base: EventArgs

Summary

Progress event data for migration operations.

Members

Properties

Current

int Current { get; set; }

Gets or sets the current record/item count.

CurrentEntityIndex

Nullable<int> CurrentEntityIndex { get; set; }

Gets or sets the current entity index (1-based).

Entity

string Entity { get; set; }

Gets or sets the entity being processed (if applicable).

ErrorSamples

IReadOnlyList<MigrationError> ErrorSamples { get; set; }

Gets or sets sample errors from the current batch for real-time visibility. Limited to a small number (typically 2) to avoid flooding output.

EstimatedRemaining

Nullable<TimeSpan> EstimatedRemaining { get; set; }

Gets or sets the estimated time remaining for the current entity/operation.

FailureCount

int FailureCount { get; set; }

Gets or sets the number of records that failed in the current batch/phase.

Field

string Field { get; set; }

Gets or sets the field being processed (for deferred fields).

FilterApplied

bool FilterApplied { get; set; }

Gets or sets whether a FetchXML filter is applied for this entity export.

FilterDescription

string FilterDescription { get; set; }

Gets or sets the filter description (summarized FetchXML filter conditions).

Message

string Message { get; set; }

Gets or sets a descriptive message.

OverallPercentComplete

double OverallPercentComplete { get; }

Gets the overall percentage complete across all entities (0-100).

OverallProcessed

Nullable<long> OverallProcessed { get; set; }

Gets or sets the overall records processed across all entities.

OverallTotal

Nullable<long> OverallTotal { get; set; }

Gets or sets the overall total records across all entities.

PercentComplete

double PercentComplete { get; }

Gets the percentage complete (0-100).

Phase

MigrationPhase Phase { get; set; }

Gets or sets the current phase of the migration.

RecordsPerSecond

Nullable<double> RecordsPerSecond { get; set; }

Gets or sets the records per second rate.

Relationship

string Relationship { get; set; }

Gets or sets the relationship being processed (for M2M).

SuccessCount

int SuccessCount { get; set; }

Gets or sets the number of records that succeeded in the current batch/phase.

TierNumber

Nullable<int> TierNumber { get; set; }

Gets or sets the current tier number (for import).

Timestamp

DateTime Timestamp { get; set; }

Gets or sets the timestamp of this progress event.

Total

int Total { get; set; }

Gets or sets the total record/item count.

TotalEntities

Nullable<int> TotalEntities { get; set; }

Gets or sets the total number of entities to process.

TotalTiers

Nullable<int> TotalTiers { get; set; }

Gets or sets the total number of tiers in the import plan.