Export (0) Print
Expand All

SqlException Methods

The SqlException type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetObjectData Sets the SerializationInfo with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType Gets the runtime type of the current instance. (Inherited from Exception.)
Public method ToString Returns a string that represents the current SqlException object, and includes the client connection ID (for more information, see ClientConnectionId). (Overrides ExternalException.ToString().)

In .NET Framework Client Profile, this member is overridden by ToString().
Top
Show:
© 2014 Microsoft