Share via


RecoverableErrorData Constructor (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.

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

Syntax

'Declaration
Public Sub New ( _
    hresult As Integer, _
    itemDisplayName As String, _
    errorDescription As String _
)
'Usage
Dim hresult As Integer
Dim itemDisplayName As String
Dim errorDescription As String

Dim instance As New RecoverableErrorData(hresult, itemDisplayName, errorDescription)
public RecoverableErrorData (
    int hresult,
    string itemDisplayName,
    string errorDescription
)
public:
RecoverableErrorData (
    int hresult, 
    String^ itemDisplayName, 
    String^ errorDescription
)
public RecoverableErrorData (
    int hresult, 
    String itemDisplayName, 
    String errorDescription
)
public function RecoverableErrorData (
    hresult : int, 
    itemDisplayName : String, 
    errorDescription : String
)

Parameters

  • hresult
    The HRESULT that is associated with the error.
  • itemDisplayName
    The display name of the item that caused the error.
  • errorDescription
    The description of the error.

See Also

Reference

RecoverableErrorData Class
RecoverableErrorData Members
Microsoft.Synchronization Namespace