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
)
new : 
        message:string * 
        inner:Exception -> DbSchemaException
public function DbSchemaException(
    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

DbSchemaException Class

DbSchemaException Overload

Microsoft.Synchronization.Data Namespace