Share via


SyncStagedProgressEventArgs Constructor

Initializes a new instance of the SyncStagedProgressEventArgs class that contains the specified position of the provider associated with this event, the current stage of the session, the completed work value, and the total work value.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Sub New ( _
    providerPosition As SyncProviderPosition, _
    sessionStage As SessionProgressStage, _
    completedWork As UInteger, _
    totalWork As UInteger _
)
'Usage
Dim providerPosition As SyncProviderPosition
Dim sessionStage As SessionProgressStage
Dim completedWork As UInteger
Dim totalWork As UInteger

Dim instance As New SyncStagedProgressEventArgs(providerPosition, sessionStage, completedWork, totalWork)
public SyncStagedProgressEventArgs (
    SyncProviderPosition providerPosition,
    SessionProgressStage sessionStage,
    uint completedWork,
    uint totalWork
)
public:
SyncStagedProgressEventArgs (
    SyncProviderPosition providerPosition, 
    SessionProgressStage sessionStage, 
    unsigned int completedWork, 
    unsigned int totalWork
)
public SyncStagedProgressEventArgs (
    SyncProviderPosition providerPosition, 
    SessionProgressStage sessionStage, 
    UInt32 completedWork, 
    UInt32 totalWork
)
public function SyncStagedProgressEventArgs (
    providerPosition : SyncProviderPosition, 
    sessionStage : SessionProgressStage, 
    completedWork : uint, 
    totalWork : uint
)

Parameters

  • providerPosition
    The position of the provider that is associated with this event.
  • sessionStage
    The current stage of the synchronization session.
  • completedWork
    The amount of work that is currently completed in the session. This value is interpreted as being a part of totalWork.
  • totalWork
    The total work for the session.

See Also

Reference

SyncStagedProgressEventArgs Class
SyncStagedProgressEventArgs Members
Microsoft.Synchronization Namespace

Concepts

Reporting Synchronization Progress