共用方式為


SyncBatchProgress 建構函式

使用批次號碼、批次計數、其他資料和進度參數,初始化 SyncBatchProgress 類別的新執行個體。

命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)

語法

'宣告
Public Sub New ( _
    batchNumber As Integer, _
    batchCount As Integer, _
    moreData As Boolean, _
    progress As Object _
)
'用途
Dim batchNumber As Integer
Dim batchCount As Integer
Dim moreData As Boolean
Dim progress As Object

Dim instance As New SyncBatchProgress(batchNumber, batchCount, moreData, progress)
public SyncBatchProgress (
    int batchNumber,
    int batchCount,
    bool moreData,
    Object progress
)
public:
SyncBatchProgress (
    int batchNumber, 
    int batchCount, 
    bool moreData, 
    Object^ progress
)
public SyncBatchProgress (
    int batchNumber, 
    int batchCount, 
    boolean moreData, 
    Object progress
)
public function SyncBatchProgress (
    batchNumber : int, 
    batchCount : int, 
    moreData : boolean, 
    progress : Object
)

參數

  • batchNumber
    目前正在同步處理之批次的號碼。
  • batchCount
    工作階段期間要同步處理的批次總數。
  • moreData
    一定會在這個版本的 API 中傳回 false
  • progress
    提供者所提供的物件,此物件包含有關同步處理進度的詳細資訊。

請參閱

參考

SyncBatchProgress 類別
SyncBatchProgress 成員
Microsoft.Synchronization 命名空間