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

Parameters

Examples

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

See Also

Reference

SyncConflict Class

SyncConflict Overload

Microsoft.Synchronization.Data Namespace