DbSyncSessionProgressEventArgs Constructor
Initializes a new instance of the DbSyncSessionProgressEventArgs class by using synchronization session, synchronization stage, percent completed, scope progress, batch number, batch count, provider position, and progress stage parameters.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
public: DbSyncSessionProgressEventArgs( DbSyncSession^ session, DbSyncStage stage, int percentCompleted, DbSyncScopeProgress^ scopeProgress, int batchNumber, int batchCount, SyncProviderPosition syncProviderPosition, SessionProgressStage sessionProgressStage )
Parameters
- session
- Type: Microsoft.Synchronization.Data::DbSyncSession
A DbSyncSession object that contains metadata about the current synchronization session.
- stage
- Type: Microsoft.Synchronization.Data::DbSyncStage
A DbSyncStage enumeration value that represents the current stage of synchronization.
- percentCompleted
- Type: System::Int32
The percentage of changes that have been completed for the current synchronization session.
- scopeProgress
- Type: Microsoft.Synchronization.Data::DbSyncScopeProgress
A DbSyncScopeProgress object that contains a set of progress statistics for a synchronization scope.
- batchNumber
- Type: System::Int32
The number of the batch that is currently being processed.
- batchCount
- Type: System::Int32
The total number of batches to be processed in this synchronization session.
- syncProviderPosition
- Type: Microsoft.Synchronization::SyncProviderPosition
A SyncProviderPosition enumeration value that represents whether a provider is associated with the local or remote database.
- sessionProgressStage
- Type: Microsoft.Synchronization::SessionProgressStage
A SessionProgressStage enumeration value that represents the current stage of synchronization.
Show: