Partager via


DataInstrumentationProvider.connectionFailed 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 open a new database connection 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("ConnectionFailed")> _
Public Event connectionFailedAs EventHandler(Of ConnectionFailedEventArgs)
[InstrumentationProviderAttribute("ConnectionFailed")]
public event EventHandler<ConnectionFailedEventArgs> connectionFailed
[InstrumentationProviderAttribute(L"ConnectionFailed")]
public:
 event EventHandler<ConnectionFailedEventArgs^>^ connectionFailed {
    voidadd (EventHandler<ConnectionFailedEventArgs^>^ value);
    voidremove (EventHandler<ConnectionFailedEventArgs^>^ 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.