9 references to Class
System.Data (9)
fx\src\data\Microsoft\SqlServer\Server\SmiEventSink_Default.cs (2)
97
if (error.
Class
>= TdsEnums.FATAL_ERROR_CLASS){
239
if ( error.
Class
< TdsEnums.MIN_ERROR_CLASS ) {
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
81
get { return this.Errors[0].
Class
;}
fx\src\data\System\Data\SqlClient\TdsParser.cs (5)
1898
Debug.Assert(error.
Class
< TdsEnums.MIN_ERROR_CLASS, "INFO with class > TdsEnums.MIN_ERROR_CLASS");
1916
(error.
Class
<= TdsEnums.MAX_USER_CORRECTABLE_ERROR_CLASS)) {
1922
if (error.
Class
< TdsEnums.MIN_ERROR_CLASS) {
1925
else if (error.
Class
< TdsEnums.FATAL_ERROR_CLASS) {
1954
else if (error.
Class
>= TdsEnums.FATAL_ERROR_CLASS) {
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
3396
broken |= (error.
Class
>= TdsEnums.FATAL_ERROR_CLASS);