Share via


DbProvisioningException Constructor (String, Exception)

Initializes a new instance of the DbProvisioningException class that contains a specified error 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 DbProvisioningException(message, _
    inner)
public DbProvisioningException(
    string message,
    Exception inner
)
public:
DbProvisioningException(
    String^ message, 
    Exception^ inner
)
new : 
        message:string * 
        inner:Exception -> DbProvisioningException
public function DbProvisioningException(
    message : String, 
    inner : Exception
)

Parameters

  • message
    Type: System.String
    The error message that states the reason for the exception.
  • inner
    Type: System.Exception
    The exception that caused the current exception, or a null reference (Nothing in Visual Basic) when no inner exception is specified.

See Also

Reference

DbProvisioningException Class

DbProvisioningException Overload

Microsoft.Synchronization.Data Namespace