Udostępnij za pośrednictwem


SimpleSyncItemConstraintEventArgs Class

Provides data for the ItemConstraint event.

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
public class SimpleSyncItemConstraintEventArgs extends EventArgs
public class SimpleSyncItemConstraintEventArgs extends EventArgs

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.

Inheritance Hierarchy

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

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

SimpleSyncItemConstraintEventArgs Members
Microsoft.Synchronization.SimpleProviders Namespace