DbSyncProgressEventArgs 构造函数

使用表进度、作用域元数据、作用域进度和同步阶段参数初始化 DbSyncProgressEventArgs 类的一个新实例。

命名空间:  Microsoft.Synchronization.Data
程序集:  Microsoft.Synchronization.Data(在 Microsoft.Synchronization.Data.dll 中)

语法

声明
Public Sub New ( _
    tableProgress As DbSyncTableProgress, _
    scopeMetadata As DbSyncScopeMetadata, _
    scopeProgress As DbSyncScopeProgress, _
    stage As DbSyncStage _
)
用法
Dim tableProgress As DbSyncTableProgress
Dim scopeMetadata As DbSyncScopeMetadata
Dim scopeProgress As DbSyncScopeProgress
Dim stage As DbSyncStage

Dim instance As New DbSyncProgressEventArgs(tableProgress, _
    scopeMetadata, scopeProgress, stage)
public DbSyncProgressEventArgs(
    DbSyncTableProgress tableProgress,
    DbSyncScopeMetadata scopeMetadata,
    DbSyncScopeProgress scopeProgress,
    DbSyncStage stage
)
public:
DbSyncProgressEventArgs(
    DbSyncTableProgress^ tableProgress, 
    DbSyncScopeMetadata^ scopeMetadata, 
    DbSyncScopeProgress^ scopeProgress, 
    DbSyncStage stage
)
new : 
        tableProgress:DbSyncTableProgress * 
        scopeMetadata:DbSyncScopeMetadata * 
        scopeProgress:DbSyncScopeProgress * 
        stage:DbSyncStage -> DbSyncProgressEventArgs
public function DbSyncProgressEventArgs(
    tableProgress : DbSyncTableProgress, 
    scopeMetadata : DbSyncScopeMetadata, 
    scopeProgress : DbSyncScopeProgress, 
    stage : DbSyncStage
)

参数

异常

异常 条件
ArgumentNullException

tableProgres、 scopeMetatdata、 scopeProgress 或 stage 为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。

请参阅

参考

DbSyncProgressEventArgs类

DbSyncProgressEventArgs 成员

Microsoft.Synchronization.Data 命名空间