RecoverableErrorData Class

Represents information about a recoverable error. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.RecoverableErrorData

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

Syntax

'Declaration
Public NotInheritable Class RecoverableErrorData
'Usage
Dim instance As RecoverableErrorData
public sealed class RecoverableErrorData
public ref class RecoverableErrorData sealed
[<SealedAttribute>]
type RecoverableErrorData =  class end
public final class RecoverableErrorData

The RecoverableErrorData type exposes the following members.

Constructors

  Name Description
Public method RecoverableErrorData(Exception) Initializes a new instance of the RecoverableErrorData class that contains the specified exception that caused the error.
Public method RecoverableErrorData(Int32) Initializes a new instance of the RecoverableErrorData class that contains the specified HRESULT that is associated with the error.
Public method RecoverableErrorData(Exception, String, String) Initializes a new instance of the RecoverableErrorData class that contains the specified exception that caused the error, the display name of the item that caused the error, and a description of the error.
Public method RecoverableErrorData(Int32, String, String) Initializes a new instance of the RecoverableErrorData class that contains the specified HRESULT that is associated with the error, the display name of the item that caused the error, and a description of the error.

Top

Properties

  Name Description
Public property ErrorDescription Gets the description of the error.
Public property HResult Gets the HRESULT that is associated with the error. An HRESULT is a coded numerical value that is assigned to a specific exception.
Public property ItemDisplayName Gets the display name of the item that caused the error.

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 ToString (Inherited from Object.)

Top

Remarks

A recoverable error is set by a provider when it cannot load or save item data in its item store.

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