ChangeBatch 构造函数 (SyncIdFormatGroup, SyncKnowledge, ForgottenKnowledge, FilterInfo)
初始化 ChangeBatch 类的一个新实例,该实例包含指定的 ID 格式架构、目标副本的知识、源副本的遗忘知识以及用于控制将哪些变更包括到变更批中的筛选器。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 Microsoft.Synchronization.dll 中)
语法
声明
Public Sub New ( _
idFormats As SyncIdFormatGroup, _
destinationKnowledge As SyncKnowledge, _
sourceForgottenKnowledge As ForgottenKnowledge, _
filterInfo As FilterInfo _
)
用法
Dim idFormats As SyncIdFormatGroup
Dim destinationKnowledge As SyncKnowledge
Dim sourceForgottenKnowledge As ForgottenKnowledge
Dim filterInfo As FilterInfo
Dim instance As New ChangeBatch(idFormats, _
destinationKnowledge, sourceForgottenKnowledge, _
filterInfo)
public ChangeBatch(
SyncIdFormatGroup idFormats,
SyncKnowledge destinationKnowledge,
ForgottenKnowledge sourceForgottenKnowledge,
FilterInfo filterInfo
)
public:
ChangeBatch(
SyncIdFormatGroup^ idFormats,
SyncKnowledge^ destinationKnowledge,
ForgottenKnowledge^ sourceForgottenKnowledge,
FilterInfo^ filterInfo
)
new :
idFormats:SyncIdFormatGroup *
destinationKnowledge:SyncKnowledge *
sourceForgottenKnowledge:ForgottenKnowledge *
filterInfo:FilterInfo -> ChangeBatch
public function ChangeBatch(
idFormats : SyncIdFormatGroup,
destinationKnowledge : SyncKnowledge,
sourceForgottenKnowledge : ForgottenKnowledge,
filterInfo : FilterInfo
)
参数
- idFormats
类型:Microsoft.Synchronization. . :: . .SyncIdFormatGroup
提供程序的 ID 格式架构。
- destinationKnowledge
类型:Microsoft.Synchronization. . :: . .SyncKnowledge
来自目标副本的知识。
- sourceForgottenKnowledge
类型:Microsoft.Synchronization. . :: . .ForgottenKnowledge
源副本的遗忘知识。
- filterInfo
类型:Microsoft.Synchronization. . :: . .FilterInfo
用于控制将哪些变更包括到变更批中的筛选器。
异常
异常 | 条件 |
---|---|
ArgumentNullException | idFormats、destinationKnowledge、 sourceForgottenKnowledge 或 filterInfo 为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。 |