Share via


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
)
public SyncConflict (
    ConflictType conflictType, 
    SyncStage conflictStage
)
public function SyncConflict (
    conflictType : ConflictType, 
    conflictStage : SyncStage
)

Parameters

  • conflictType
    A ConflictType enumeration value that represents the type of synchronization conflict.
  • conflictStage
    A SyncStage enumeration value that represents the synchronization stage during which the conflict occurred.

Remarks

Example

For an example of how to handle conflicts, see How to: Handle Data Conflicts and Errors.

See Also

Reference

SyncConflict Class
SyncConflict Members
Microsoft.Synchronization.Data Namespace