Share via


SqliteException.ThrowExceptionForRC(Int32, sqlite3) Method

Definition

Throws an exception with a specific SQLite error code value.

public static void ThrowExceptionForRC (int rc, SQLitePCL.sqlite3 db);
public static void ThrowExceptionForRC (int rc, SQLitePCL.sqlite3? db);
static member ThrowExceptionForRC : int * SQLitePCL.sqlite3 -> unit
Public Shared Sub ThrowExceptionForRC (rc As Integer, db As sqlite3)

Parameters

rc
Int32

The SQLite error code corresponding to the desired exception.

db
SQLitePCL.sqlite3

A handle to database connection.

Remarks

No exception is thrown for non-error result codes.

Applies to