SimpleSyncItemConstraintEventArgs Class

Provides data for the ItemConstraint event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.Synchronization.SimpleProviders.SimpleSyncItemConstraintEventArgs

Namespace:  Microsoft.Synchronization.SimpleProviders
Assembly:  Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)

Syntax

'Declaration
Public Class SimpleSyncItemConstraintEventArgs _
    Inherits EventArgs
'Usage
Dim instance As SimpleSyncItemConstraintEventArgs
public class SimpleSyncItemConstraintEventArgs : EventArgs
public ref class SimpleSyncItemConstraintEventArgs : public EventArgs
type SimpleSyncItemConstraintEventArgs =  
    class
        inherit EventArgs
    end
public class SimpleSyncItemConstraintEventArgs extends EventArgs

The SimpleSyncItemConstraintEventArgs type exposes the following members.

Properties

  Name Description
Public property ChangeUnitsOnRemoteItem Gets a set of change units in the remote item for which a conflict was reported.
Public property ConflictVersionInformation Gets a ConflictVersionInformation object that contains information about what item versions, if any, are known to the remote provider for the item that is in conflict.
Public property LocalItem Gets an ItemFieldDictionary object that contains the fields for the local item that is in conflict.
Public property RemoteItem Gets an ItemFieldDictionary object that contains the fields for the remote item that is in conflict.
Public property RemoteItemData Gets the data for the remote item that is in conflict.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetResolutionAction Sets the resolution action for the conflict, such as DestinationWins.
Public method ToString (Inherited from Object.)

Top

Remarks

This type is used for constraint conflicts, which occur when an item cannot be saved because it conflicts with another item in the destination store, such as when the source provider sends a file that has the same name and location as a file that already exists in the destination replica. For more information, see Handling Conflicts for Simple Providers.

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.

See Also

Reference

Microsoft.Synchronization.SimpleProviders Namespace