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 | |
---|---|---|
ChangeUnitsOnRemoteItem | Gets a set of change units in the remote item for which a conflict was reported. | |
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. | |
LocalItem | Gets an ItemFieldDictionary object that contains the fields for the local item that is in conflict. | |
RemoteItem | Gets an ItemFieldDictionary object that contains the fields for the remote item that is in conflict. | |
RemoteItemData | Gets the data for the remote item that is in conflict. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetResolutionAction | Sets the resolution action for the conflict, such as DestinationWins. | |
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.