DbSyncProgressEventArgs Constructor
Initializes a new instance of the DbSyncProgressEventArgs class by using table progress, scope metadata, scope progress, and synchronization stage parameters.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub New ( _
tableProgress As DbSyncTableProgress, _
scopeMetadata As DbSyncScopeMetadata, _
scopeProgress As DbSyncScopeProgress, _
stage As DbSyncStage _
)
'Usage
Dim tableProgress As DbSyncTableProgress
Dim scopeMetadata As DbSyncScopeMetadata
Dim scopeProgress As DbSyncScopeProgress
Dim stage As DbSyncStage
Dim instance As New DbSyncProgressEventArgs(tableProgress, _
scopeMetadata, scopeProgress, stage)
public DbSyncProgressEventArgs(
DbSyncTableProgress tableProgress,
DbSyncScopeMetadata scopeMetadata,
DbSyncScopeProgress scopeProgress,
DbSyncStage stage
)
public:
DbSyncProgressEventArgs(
DbSyncTableProgress^ tableProgress,
DbSyncScopeMetadata^ scopeMetadata,
DbSyncScopeProgress^ scopeProgress,
DbSyncStage stage
)
new :
tableProgress:DbSyncTableProgress *
scopeMetadata:DbSyncScopeMetadata *
scopeProgress:DbSyncScopeProgress *
stage:DbSyncStage -> DbSyncProgressEventArgs
public function DbSyncProgressEventArgs(
tableProgress : DbSyncTableProgress,
scopeMetadata : DbSyncScopeMetadata,
scopeProgress : DbSyncScopeProgress,
stage : DbSyncStage
)
Parameters
- tableProgress
Type: Microsoft.Synchronization.Data.DbSyncTableProgress
A DbSyncTableProgress object that contains synchronization progress statistics for a table.
- scopeMetadata
Type: Microsoft.Synchronization.Data.DbSyncScopeMetadata
A DbSyncScopeMetaData object that contains metadata about the synchronization scope.
- scopeProgress
Type: Microsoft.Synchronization.Data.DbSyncScopeProgress
A DbSyncScopeProgress object that contains a set of progress statistics for a synchronization scope.
- stage
Type: Microsoft.Synchronization.Data.DbSyncStage
A DbSyncStage enumeration value that represents the current stage of synchronization.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | tableProgres, scopeMetatdata, scopeProgress, or stage is a null reference (Nothing in Visual Basic). |