Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Saves a conflict for later conflict resolution or propagation.
Namespace: Microsoft.Synchronization.FeedSync
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub LogConflict ( _
conflictingChange As ItemChange, _
itemData As String, _
knowledge As SyncKnowledge _
)
'Usage
Dim instance As FeedBuilder
Dim conflictingChange As ItemChange
Dim itemData As String
Dim knowledge As SyncKnowledge
instance.LogConflict(conflictingChange, _
itemData, knowledge)
public void LogConflict(
ItemChange conflictingChange,
string itemData,
SyncKnowledge knowledge
)
public:
void LogConflict(
ItemChange^ conflictingChange,
String^ itemData,
SyncKnowledge^ knowledge
)
member LogConflict :
conflictingChange:ItemChange *
itemData:string *
knowledge:SyncKnowledge -> unit
public function LogConflict(
conflictingChange : ItemChange,
itemData : String,
knowledge : SyncKnowledge
)
Parameters
- conflictingChange
Type: Microsoft.Synchronization.ItemChange
The change that caused the conflict.
- itemData
Type: System.String
The item data in XML format.
- knowledge
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge to be learned if the conflicting change is applied. This must be logged with the conflicting change.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | conflictingChange or knowledge is a null reference (Nothing in Visual Basic). |
| ItemNotInFeedMetadataException | The changed item was not in the feed metadata. |
| SyncInvalidOperationException | Metadata for itemData was missing from the feed or a synchronization XML node was missing from itemData. |
Remarks
This method helps a provider implement its SaveConflict method.