dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlException Class
Properties Methods

In This Topic
    SqlException Class Members
    In This Topic

    The following tables list the members exposed by SqlException.

    Public Properties
     NameDescription
    Public PropertyGets the severity level of the error.  
    Public PropertyOverridden.   
    Public PropertyOverridden.   
    Public PropertyGets a collection of one or more SqlError objects that give detailed information about exceptions.  
    Public PropertyGets or sets a link to the help file associated with this exception. (Inherited from System.Exception)
    Public PropertyGets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from System.Exception)
    Public PropertyGets the System.Exception instance that caused the current exception. (Inherited from System.Exception)
    Public PropertyGets the line number within the SQL command batch or stored procedure that generated the error.  
    Public PropertyOverridden. Gets the text describing the error.  
    Public PropertyGets a number that identifies the type of error.  
    Public PropertyGets the name of the stored procedure that generated the error.  
    Public PropertyGets the name of the instance of SQL Server that generated the error.  
    Public PropertyOverridden. Gets the name of the provider that generated the error.  
    Public PropertyGets a string representation of the immediate frames on the call stack. (Inherited from System.Exception)
    Public PropertyGets a numeric error code from SQL Server that represents an error.  
    Public PropertyGets the method that throws the current exception. (Inherited from System.Exception)
    Top
    Public Methods
     NameDescription
    Public MethodWhen overridden in a derived class, returns the System.Exception that is the root cause of one or more subsequent exceptions. (Inherited from System.Exception)
    Public MethodOverridden. Sets the SerializationInfo with information about the exception.  
    Public MethodGets the runtime type of the current instance. (Inherited from System.Exception)
    Public MethodReturns a string that contains the HRESULT of the error. (Inherited from System.Runtime.InteropServices.ExternalException)
    Top
    See Also