Compartir a través de


CommandFailedEventArgs Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The CommandFailedEventArgs type exposes the following members.

Constructors

  Name Description
Public method CommandFailedEventArgs
Initializes a new instance of the CommandFailedEventArgs class.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Properties

  Name Description
Public property CommandText
Gets the text of the command that failed its execution.
Public property ConnectionString
Gets the connection string of the Database that executed the failed command, with credentials removed.
Public property Exception
Gets the exception thrown when the command failed.

See Also

CommandFailedEventArgs Class

Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.