ChangeApplicationServices.ReportRecoverableErrorOnChangeUnitChange Method
Notifies the change application service that a recoverable error occurred when the destination provider tried to apply the change unit change.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub ReportRecoverableErrorOnChangeUnitChange ( _
changeUnitChange As ChangeUnitChange, _
errorData As RecoverableErrorData _
)
'Usage
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
)
Parameters
- changeUnitChange
Type: Microsoft.Synchronization.ChangeUnitChange
The change unit change that was successfully applied to the destination replica.
- errorData
Type: Microsoft.Synchronization.RecoverableErrorData
Additional information about the error.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A required parameter is a null reference (Nothing in Visual Basic). |
ChangeNeedsKnowledgeException | changeUnitChange does not contain made-with knowledge. |
SyncIdFormatMismatchException | The ID format schema of the knowledge object contained in changeUnitChange does not match the ID format schema specified when this object was initialized. |
SyncInvalidOperationException | Change application was not started or changeUnitChange or its parent change has already been reported as successfully applied or conflicting. |