使用批号、批计数、更多数据和进度参数初始化 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 命名空间