Compartir a través de


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 _
)
public SessionProgressEventArgs (
    SyncStage syncStage,
    int percentCompleted,
    SyncBatchProgress batchProgress
)
public:
SessionProgressEventArgs (
    SyncStage syncStage, 
    int percentCompleted, 
    SyncBatchProgress^ batchProgress
)
public SessionProgressEventArgs (
    SyncStage syncStage, 
    int percentCompleted, 
    SyncBatchProgress batchProgress
)
public function SessionProgressEventArgs (
    syncStage : SyncStage, 
    percentCompleted : int, 
    batchProgress : SyncBatchProgress
)

Parameters

  • syncStage
    A SyncStage enumeration value that represents the current stage of synchronization.
  • percentCompleted
    The percentage of changes that have been completed for the current synchronization session.
  • batchProgress
    A SyncBatchProgress object that represents the progress of the current batch of changes that is synchronizing.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SessionProgressEventArgs Class
SessionProgressEventArgs Members
Microsoft.Synchronization Namespace