ExcludeChangeUnit 方法

从该知识中删除有关指定变更单位的知识。

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

语法

声明
Public Sub ExcludeChangeUnit ( _
    itemId As SyncId, _
    changeUnitId As SyncId _
)
用法
Dim instance As SyncKnowledge
Dim itemId As SyncId
Dim changeUnitId As SyncId

instance.ExcludeChangeUnit(itemId, changeUnitId)
public void ExcludeChangeUnit(
    SyncId itemId,
    SyncId changeUnitId
)
public:
void ExcludeChangeUnit(
    SyncId^ itemId, 
    SyncId^ changeUnitId
)
member ExcludeChangeUnit : 
        itemId:SyncId * 
        changeUnitId:SyncId -> unit 
public function ExcludeChangeUnit(
    itemId : SyncId, 
    changeUnitId : SyncId
)

参数

异常

异常 条件
InvalidOperationException

SyncKnowledge 对象未初始化。

ArgumentNullException

itemId 或 changeUnitId 为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。

SyncIdFormatMismatchException

itemId 或 changeUnitId 未采用为此知识对象指定的 ID 格式或者具有不同的可变长度设置。

请参阅

参考

SyncKnowledge类

SyncKnowledge 成员

Microsoft.Synchronization 命名空间