共用方式為


ChangeApplicationServices.ReportRecoverableErrorOnChangeUnitChange 方法

通知變更套用服務,表示當目的地提供者嘗試套用變更單位變更時發生了可復原的錯誤。

命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)

語法

'宣告
Public Sub ReportRecoverableErrorOnChangeUnitChange ( _
    changeUnitChange As ChangeUnitChange, _
    errorData As RecoverableErrorData _
)
'用途
Dim instance As ChangeApplicationServices
Dim changeUnitChange As ChangeUnitChange
Dim errorData As RecoverableErrorData

instance.ReportRecoverableErrorOnChangeUnitChange(changeUnitChange, errorData)
public void ReportRecoverableErrorOnChangeUnitChange (
    ChangeUnitChange changeUnitChange,
    RecoverableErrorData errorData
)
public:
void ReportRecoverableErrorOnChangeUnitChange (
    ChangeUnitChange^ changeUnitChange, 
    RecoverableErrorData^ errorData
)
public void ReportRecoverableErrorOnChangeUnitChange (
    ChangeUnitChange changeUnitChange, 
    RecoverableErrorData errorData
)
public function ReportRecoverableErrorOnChangeUnitChange (
    changeUnitChange : ChangeUnitChange, 
    errorData : RecoverableErrorData
)

參數

  • changeUnitChange
    已成功套用至目的地複寫的變更單位變更。
  • errorData
    有關錯誤的其他資訊。

例外

例外狀況型別 條件

ArgumentNullException

必要的參數為 null 參考 (在 Visual Basic 中為 Nothing)。

ChangeNeedsKnowledgeException

changeUnitChange 不包含建立方式知識。

SyncIdFormatMismatchException

包含在 changeUnitChange 中之知識物件的識別碼格式結構描述與初始化這個物件時所指定的識別碼格式結構描述不符。

SyncInvalidOperationException

變更套用並未啟動,或者 changeUnitChange 或其父變更已經報告成套用成功或發生衝突。

請參閱

參考

ChangeApplicationServices 類別
ChangeApplicationServices 成員
Microsoft.Synchronization 命名空間