Share via


DbSchemaException Constructor (String, Exception)

Initializes a new instance of the DbSchemaException 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 DbSchemaException(message, inner)
public DbSchemaException (
    string message,
    Exception inner
)
public:
DbSchemaException (
    String^ message, 
    Exception^ inner
)
public DbSchemaException (
    String message, 
    Exception inner
)
public function DbSchemaException (
    message : String, 
    inner : Exception
)

Parameters

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

See Also

Reference

DbSchemaException Class
DbSchemaException Members
Microsoft.Synchronization.Data Namespace