ChangeApplicationServices.ReportRecoverableErrorOnItemChange Method
Notifies the change application service that a recoverable error occurred when the destination provider tried to apply the item change.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub ReportRecoverableErrorOnItemChange ( _
itemChange As ItemChange, _
errorData As RecoverableErrorData _
)
'Usage
Dim instance As ChangeApplicationServices
Dim itemChange As ItemChange
Dim errorData As RecoverableErrorData
instance.ReportRecoverableErrorOnItemChange(itemChange, _
errorData)
public void ReportRecoverableErrorOnItemChange(
ItemChange itemChange,
RecoverableErrorData errorData
)
public:
void ReportRecoverableErrorOnItemChange(
ItemChange^ itemChange,
RecoverableErrorData^ errorData
)
member ReportRecoverableErrorOnItemChange :
itemChange:ItemChange *
errorData:RecoverableErrorData -> unit
public function ReportRecoverableErrorOnItemChange(
itemChange : ItemChange,
errorData : RecoverableErrorData
)
Parameters
- itemChange
Type: Microsoft.Synchronization.ItemChange
The item change that failed to apply 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 | itemChange does not contain made-with knowledge. |
SyncIdFormatMismatchException | The ID format schema of the knowledge object contained in itemChange does not match the ID format schema specified when this object was initialized. |
SyncInvalidOperationException | Change application was not started, or itemChange has already been reported as successfully applied or conflicting, or any change unit contained in itemChange has been reported as successfully applied or conflicting. |
Remarks
When this method is called and itemChange contains change units, all change units are marked as having failed to apply.