Share via


DbVersionException Constructor (String, Exception)

Initializes a new instance of the DbVersionException class with the specified message and a reference to the inner exception that caused this exception.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    inner As Exception _
)
'Usage
Dim message As String
Dim inner As Exception

Dim instance As New DbVersionException(message, _
    inner)
public DbVersionException(
    string message,
    Exception inner
)
public:
DbVersionException(
    String^ message, 
    Exception^ inner
)
new : 
        message:string * 
        inner:Exception -> DbVersionException
public function DbVersionException(
    message : String, 
    inner : Exception
)

Parameters

  • inner
    Type: System.Exception
    The exception instance that caused the current exception, or null reference (Nothing in Visual Basic) when no inner exception is specified.

See Also

Reference

DbVersionException Class

DbVersionException Overload

Microsoft.Synchronization.Data Namespace