Logger.LogSqlException Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| LogSqlException(Int32, String, SqlException) | |
| LogSqlException(Object, Int32, String, SqlException) |
LogSqlException(Int32, String, SqlException)
public:
static void LogSqlException(int id, System::String ^ msg, System::Data::SqlClient::SqlException ^ sqlException);
public static void LogSqlException (int id, string msg, System.Data.SqlClient.SqlException sqlException);
static member LogSqlException : int * string * System.Data.SqlClient.SqlException -> unit
Parameters
- id
- Int32
- msg
- String
- sqlException
- SqlException
Applies to
LogSqlException(Object, Int32, String, SqlException)
public:
static void LogSqlException(System::Object ^ tracePoint, int id, System::String ^ msg, System::Data::SqlClient::SqlException ^ sqlException);
public static void LogSqlException (object tracePoint, int id, string msg, System.Data.SqlClient.SqlException sqlException);
static member LogSqlException : obj * int * string * System.Data.SqlClient.SqlException -> unit
Parameters
- tracePoint
- Object
- id
- Int32
- msg
- String
- sqlException
- SqlException