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

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

Syntax

'Declaration
Public Sub New ( _
    exception As Exception, _
    itemDisplayName As String, _
    errorDescription As String _
)
'Usage
Dim exception As Exception
Dim itemDisplayName As String
Dim errorDescription As String

Dim instance As New RecoverableErrorData(exception, _
    itemDisplayName, errorDescription)
public RecoverableErrorData(
    Exception exception,
    string itemDisplayName,
    string errorDescription
)
public:
RecoverableErrorData(
    Exception^ exception, 
    String^ itemDisplayName, 
    String^ errorDescription
)
new : 
        exception:Exception * 
        itemDisplayName:string * 
        errorDescription:string -> RecoverableErrorData
public function RecoverableErrorData(
    exception : Exception, 
    itemDisplayName : String, 
    errorDescription : String
)

Parameters

  • 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