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 | ODP.NET Core |
|---|---|---|---|
|
Assembly |
|
|
|
|
Namespace |
|
|
|
|
.NET Framework |
4.8 |
4.8 |
- |
|
.NET (Core) |
- |
- |
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.