TdsQueryError Class

Represents an error returned from query processing.

public sealed class TdsQueryError

Constructors

NameDescription
TdsQueryError()

TdsQueryError()

TdsQueryError.cs
  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public TdsQueryError()

No documentation is available.

Properties

NameDescription
ClassGets or sets the error class/severity.
MessageGets or sets the error message.
NumberGets or sets the SQL Server-style error number.
StateGets or sets the error state.

Gets or sets the error class/severity.

public byte Class { get; set; }

Property value

byte

Gets or sets the error message.

public required string Message { get; set; }

Property value

string

Gets or sets the SQL Server-style error number.

public uint Number { get; set; }

Property value

uint

Gets or sets the error state.

public byte State { get; set; }

Property value

byte