Delen via


SyncConflict Class

Represents a synchronization conflict at the row level.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class SyncConflict
[SerializableAttribute] 
public class SyncConflict
[SerializableAttribute] 
public ref class SyncConflict
/** @attribute SerializableAttribute() */ 
public class SyncConflict
SerializableAttribute 
public class SyncConflict

Remarks

For conflicts that are encountered during synchronization, the data from each conflicting row is stored in a SyncConflict collection. This collection could grow large enough to cause an out-of-memory error in the following situations:

  • There are a large number of conflicting rows. Consider synchronizing a smaller number of rows in each session, or limit the number of conflicts by updating a particular row at only one node.

  • The conflicting rows contain columns that use large data types. Consider not including the columns that use large data types in the set of columns that is synchronized. For more information, see How to: Filter Rows and Columns.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.SyncConflict

Example

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SyncConflict Members
Microsoft.Synchronization.Data Namespace