UserLoadChangeContext.RecordRecoverableErrorForChangeUnit 方法

指示当系统从项存储区中加载指定变更单位的数据时出现了一个可恢复的错误。

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

语法

声明
Public Overrides Sub RecordRecoverableErrorForChangeUnit ( _
    changeUnitChange As ChangeUnitChange, _
    errorData As RecoverableErrorData _
)
用法
Dim instance As UserLoadChangeContext
Dim changeUnitChange As ChangeUnitChange
Dim errorData As RecoverableErrorData

instance.RecordRecoverableErrorForChangeUnit(changeUnitChange, errorData)
public override void RecordRecoverableErrorForChangeUnit (
    ChangeUnitChange changeUnitChange,
    RecoverableErrorData errorData
)
public:
virtual void RecordRecoverableErrorForChangeUnit (
    ChangeUnitChange^ changeUnitChange, 
    RecoverableErrorData^ errorData
) override
public void RecordRecoverableErrorForChangeUnit (
    ChangeUnitChange changeUnitChange, 
    RecoverableErrorData errorData
)
public override function RecordRecoverableErrorForChangeUnit (
    changeUnitChange : ChangeUnitChange, 
    errorData : RecoverableErrorData
)

参数

  • changeUnitChange
    导致该错误的变更单位变更。
  • errorData
    有关该错误的其他信息。

备注

调用此方法时,ItemChangeUnitOverride 对象会添加到已知的知识中,并且,系统在同步会话期间将不再枚举该变更单位变更。

请参阅

参考

UserLoadChangeContext 类
UserLoadChangeContext 成员
Microsoft.Synchronization 命名空间