SyncException Class

The exception that is thrown when an error occurs during synchronization.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Synchronization.SyncException
      More...

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

Syntax

'Declaration
<SerializableAttribute> _
<CLSCompliantAttribute(True)> _
Public Class SyncException _
    Inherits Exception
'Usage
Dim instance As SyncException
[SerializableAttribute]
[CLSCompliantAttribute(true)]
public class SyncException : Exception
[SerializableAttribute]
[CLSCompliantAttribute(true)]
public ref class SyncException : public Exception
[<SerializableAttribute>]
[<CLSCompliantAttribute(true)>]
type SyncException =  
    class
        inherit Exception
    end
public class SyncException extends Exception

The SyncException type exposes the following members.

Constructors

  Name Description
Public method SyncException() Initializes a new instance of the SyncException class.
Public method SyncException(String) Initializes a new instance of the SyncException class that contains a specified error message.
Protected method SyncException(SerializationInfo, StreamingContext) Initializes a new instance of the SyncException class by using serialized data.
Public method SyncException(String, Exception) Initializes a new instance of the SyncException class that contains a specified error message and a reference to the inner exception that caused this exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorNumber Obsolete. Gets or sets an error number for the exception.
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property SyncSource Obsolete. Gets or sets the name of the component that threw the exception.
Public property SyncStage Obsolete. Gets or sets a SyncStage enumeration value that represents the stage of synchronization during which the error occurred.
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Remarks

This class is also the base class for most other synchronization exceptions.

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 Namespace

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Synchronization.SyncException
      Microsoft.Synchronization.ActiveChangeApplicationContextException
      Microsoft.Synchronization.ChangeBatchIsReadOnlyException
      Microsoft.Synchronization.ChangeBatchNeedsFilterForgottenKnowledgeException
      Microsoft.Synchronization.ChangeBatchNeedsKnowledgeException
      Microsoft.Synchronization.ChangeCountMismatchException
      Microsoft.Synchronization.ChangeNeedsKnowledgeException
      Microsoft.Synchronization.ChangeNotExpectedException
      Microsoft.Synchronization.ChangeUnitCountMismatchException
      Microsoft.Synchronization.ChangeVersionNotInKnowledgeException
      Microsoft.Synchronization.CreateFailuresMustBeForEntireItemException
      Microsoft.Synchronization.Data.DataSyncException
      Microsoft.Synchronization.Data.DbSyncException
      Microsoft.Synchronization.DuplicateItemException
      Microsoft.Synchronization.Files.FileSyncInvalidOperationException
      Microsoft.Synchronization.ForgottenKnowledgeNotContainedException
      Microsoft.Synchronization.FullEnumerationExpectedException
      Microsoft.Synchronization.IncompleteReplicaKeyMapException
      Microsoft.Synchronization.InvalidFeedException
      Microsoft.Synchronization.InvalidKnowledgeMarkerException
      Microsoft.Synchronization.InvalidKnowledgeVersionException
      Microsoft.Synchronization.InvalidOrderException
      Microsoft.Synchronization.InvalidReplicaKeyException
      Microsoft.Synchronization.InvalidSerializationVersionException
      Microsoft.Synchronization.InvalidSyncTimeException
      Microsoft.Synchronization.ItemDataModifiedConcurrentlyException
      Microsoft.Synchronization.ItemHasChangeUnitsException
      Microsoft.Synchronization.ItemHasNoChangeUnitsException
      Microsoft.Synchronization.ItemHasNoDataException
      Microsoft.Synchronization.ItemHasNoVersionDataException
      Microsoft.Synchronization.ItemListFilteredFullEnumerationNotSupportedException
      Microsoft.Synchronization.ItemMustExistException
      Microsoft.Synchronization.ItemNotInFeedMetadataException
      Microsoft.Synchronization.KnowledgeDecreasedUnexpectedlyException
      Microsoft.Synchronization.LoadConflictDataException
      Microsoft.Synchronization.MetadataStorage.MetadataStoreException
      Microsoft.Synchronization.NegativeRangeException
      Microsoft.Synchronization.ObjectNeedsStateException
      Microsoft.Synchronization.RangeOutOfOrderException
      Microsoft.Synchronization.ReplicaNotFoundException
      Microsoft.Synchronization.SimpleProvidersException
      Microsoft.Synchronization.SyncAbortedException
      Microsoft.Synchronization.SyncConstraintConflictNotAllowedException
      Microsoft.Synchronization.SyncIdFormatMismatchException
      Microsoft.Synchronization.SyncInvalidOperationException
      Microsoft.Synchronization.SyncRuntimeInternalErrorException