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.
Initializes a new instance of the LoggedConflict class that represents a concurrency conflict, by using the specified ID format schema, item change metadata, item data, conflict knowledge, and made-with knowledge.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub New ( _
idFormats As SyncIdFormatGroup, _
itemChange As ItemChange, _
data As Object, _
conflictKnowledge As SyncKnowledge, _
madeWithKnowledge As SyncKnowledge _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim itemChange As ItemChange
Dim data As Object
Dim conflictKnowledge As SyncKnowledge
Dim madeWithKnowledge As SyncKnowledge
Dim instance As New LoggedConflict(idFormats, _
itemChange, data, conflictKnowledge, _
madeWithKnowledge)
public LoggedConflict(
SyncIdFormatGroup idFormats,
ItemChange itemChange,
Object data,
SyncKnowledge conflictKnowledge,
SyncKnowledge madeWithKnowledge
)
public:
LoggedConflict(
SyncIdFormatGroup^ idFormats,
ItemChange^ itemChange,
Object^ data,
SyncKnowledge^ conflictKnowledge,
SyncKnowledge^ madeWithKnowledge
)
new :
idFormats:SyncIdFormatGroup *
itemChange:ItemChange *
data:Object *
conflictKnowledge:SyncKnowledge *
madeWithKnowledge:SyncKnowledge -> LoggedConflict
public function LoggedConflict(
idFormats : SyncIdFormatGroup,
itemChange : ItemChange,
data : Object,
conflictKnowledge : SyncKnowledge,
madeWithKnowledge : SyncKnowledge
)
Parameters
- idFormats
Type: Microsoft.Synchronization.SyncIdFormatGroup
The ID format schema of the provider.
- itemChange
Type: Microsoft.Synchronization.ItemChange
The item metadata for the conflicting change from the source provider.
- data
Type: System.Object
The item data for itemChange.
- conflictKnowledge
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge to be learned if this change is applied.
- madeWithKnowledge
Type: Microsoft.Synchronization.SyncKnowledge
The made-with knowledge for this change. The made-with knowledge for a change is typically the knowledge that the replica had when this change was made.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | idFormats, itemChange, data, or conflictKnowledge is a null reference (Nothing in Visual Basic). |
Remarks
The newly created LoggedConflict object adds references to the conflict knowledge and made-with knowledge objects that are passed in conflictKnowledge and madeWithKnowledge, but does not clone them.