SessionProgressEventArgs Constructor
Initializes a new instance of the SessionProgressEventArgs class by using synchronization stage, percent completed, and batch progress parameters.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub New ( _
syncStage As SyncStage, _
percentCompleted As Integer, _
batchProgress As SyncBatchProgress _
)
'Usage
Dim syncStage As SyncStage
Dim percentCompleted As Integer
Dim batchProgress As SyncBatchProgress
Dim instance As New SessionProgressEventArgs(syncStage, _
percentCompleted, batchProgress)
public SessionProgressEventArgs(
SyncStage syncStage,
int percentCompleted,
SyncBatchProgress batchProgress
)
public:
SessionProgressEventArgs(
SyncStage syncStage,
int percentCompleted,
SyncBatchProgress^ batchProgress
)
new :
syncStage:SyncStage *
percentCompleted:int *
batchProgress:SyncBatchProgress -> SessionProgressEventArgs
public function SessionProgressEventArgs(
syncStage : SyncStage,
percentCompleted : int,
batchProgress : SyncBatchProgress
)
Parameters
- syncStage
Type: Microsoft.Synchronization.SyncStage
A SyncStage 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.
- batchProgress
Type: Microsoft.Synchronization.SyncBatchProgress
A SyncBatchProgress object that represents the progress of the current batch of changes that is synchronizing.