SyncConflict Constructor (ConflictType, SyncStage)
Initializes a new instance of the SyncConflict class by using conflict type and conflict stage parameters.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub New ( _
conflictType As ConflictType, _
conflictStage As SyncStage _
)
'Usage
Dim conflictType As ConflictType
Dim conflictStage As SyncStage
Dim instance As New SyncConflict(conflictType, _
conflictStage)
public SyncConflict(
ConflictType conflictType,
SyncStage conflictStage
)
public:
SyncConflict(
ConflictType conflictType,
SyncStage conflictStage
)
new :
conflictType:ConflictType *
conflictStage:SyncStage -> SyncConflict
public function SyncConflict(
conflictType : ConflictType,
conflictStage : SyncStage
)
Parameters
- conflictType
Type: Microsoft.Synchronization.Data.ConflictType
A ConflictType enumeration value that represents the type of synchronization conflict.
- conflictStage
Type: Microsoft.Synchronization.SyncStage
A SyncStage enumeration value that represents the synchronization stage during which the conflict occurred.
Examples
For an example of how to handle conflicts, see How to: Handle Data Conflicts and Errors.