共用方式為


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
)
member ReportRecoverableErrorOnChangeUnitChange : 
        changeUnitChange:ChangeUnitChange * 
        errorData:RecoverableErrorData -> unit 
public function ReportRecoverableErrorOnChangeUnitChange(
    changeUnitChange : ChangeUnitChange, 
    errorData : RecoverableErrorData
)

參數

例外

例外狀況 條件
ArgumentNullException

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

ChangeNeedsKnowledgeException

changeUnitChange 不包含建立方式知識。

SyncIdFormatMismatchException

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

SyncInvalidOperationException

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

請參閱

參考

ChangeApplicationServices類別

ChangeApplicationServices 成員

Microsoft.Synchronization 命名空間