8.1 OracleHAEventArgs Class
The OracleHAEventArgs class provides event data for the OracleConnection.HAEvent event.
Class Inheritance
System.Object
System.EventArgs
Oracle.DataAccess.Client.OracleHAEventArgs
Declaration
// C# public sealed class OracleHAEventArgs
Requirements
| Provider | ODP.NET, Unmanaged Driver | ODP.NET, Managed Driver |
|---|---|---|
|
Assembly |
|
|
|
Namespace |
|
|
|
.NET Framework |
3.5, 4.5, 4.6 |
4.5, 4.6 |
Thread Safety
All public methods are thread-safe, although instance methods do not guarantee thread safety.
Remarks
When any HA event occurs for a service, service member, host, node, or instance that an OracleConnection object is set to with "ha events=true", the OracleConnection.HAEvent is triggered and passes an instance of OracleHAEventArgs to all the delegates that have registered with the event.