SqliteException Constructors

Definition

Overloads

SqliteException(String, Int32)

Initializes a new instance of the SqliteException class.

SqliteException(String, Int32, Int32)

Initializes a new instance of the SqliteException class.

SqliteException(String, Int32)

Initializes a new instance of the SqliteException class.

public SqliteException (string message, int errorCode);
public SqliteException (string? message, int errorCode);
new Microsoft.Data.Sqlite.SqliteException : string * int -> Microsoft.Data.Sqlite.SqliteException
Public Sub New (message As String, errorCode As Integer)

Parameters

message
String

The message to display for the exception. Can be null.

errorCode
Int32

The SQLite error code.

Applies to

SqliteException(String, Int32, Int32)

Initializes a new instance of the SqliteException class.

public SqliteException (string message, int errorCode, int extendedErrorCode);
public SqliteException (string? message, int errorCode, int extendedErrorCode);
new Microsoft.Data.Sqlite.SqliteException : string * int * int -> Microsoft.Data.Sqlite.SqliteException
Public Sub New (message As String, errorCode As Integer, extendedErrorCode As Integer)

Parameters

message
String

The message to display for the exception. Can be null.

errorCode
Int32

The SQLite error code.

extendedErrorCode
Int32

The extended SQLite error code.

Applies to