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
)
new : 
        hresult:int * 
        itemDisplayName:string * 
        errorDescription:string -> RecoverableErrorData
public function RecoverableErrorData(
    hresult : int, 
    itemDisplayName : String, 
    errorDescription : String
)

Parameters

  • hresult
    Type: System.Int32
    The HRESULT that is associated with the error.
  • itemDisplayName
    Type: System.String
    The display name of the item that caused the error.
  • errorDescription
    Type: System.String
    The description of the error.

See Also

Reference

RecoverableErrorData Class

RecoverableErrorData Overload

Microsoft.Synchronization Namespace