Share via


DataInstrumentationProvider.commandFailed Event

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.

Occurs when the attempt to execute a database command by a Database instance fails.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
<InstrumentationProviderAttribute("CommandFailed")> _
Public Event commandFailedAs EventHandler(Of CommandFailedEventArgs)
[InstrumentationProviderAttribute("CommandFailed")]
public event EventHandler<CommandFailedEventArgs> commandFailed
[InstrumentationProviderAttribute(L"CommandFailed")]
public:
 event EventHandler<CommandFailedEventArgs^>^ commandFailed {
    voidadd (EventHandler<CommandFailedEventArgs^>^ value);
    voidremove (EventHandler<CommandFailedEventArgs^>^ value);
}
JScript does not support events.

See Also

DataInstrumentationProvider 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.