Share via


RecoverableErrorData Constructor (Exception)

Initializes a new instance of the RecoverableErrorData class that contains the specified exception that caused the error.

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

Syntax

'Declaration
Public Sub New ( _
    exception As Exception _
)
'Usage
Dim exception As Exception

Dim instance As New RecoverableErrorData(exception)
public RecoverableErrorData(
    Exception exception
)
public:
RecoverableErrorData(
    Exception^ exception
)
new : 
        exception:Exception -> RecoverableErrorData
public function RecoverableErrorData(
    exception : Exception
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

exception is a null reference (Nothing in Visual Basic).

See Also

Reference

RecoverableErrorData Class

RecoverableErrorData Overload

Microsoft.Synchronization Namespace