OracleConnectionOpenReason Enumeration
This enumeration’s values specify the reason for triggering a ConnectionOpen event. Applications can retrieve the reason through the OracleConnectionOpenEventArgs Reason property
Table 6-237 lists all the OracleConnectionOpenReason enumeration values with a description of each enumerated value.
Table 237 OracleConnectionOpenReason Enumeration Values
| Member Name | Description |
|---|---|
HardConnect |
Indicates a hard connect to the database. A new connection has been created. |
SoftConnect |
Indicates a soft connect to the database. A connection from the pool has been dispensed. |
A connection created for Application Continuity replay has an enumeration value of HardConnect.
Requirements
| Provider | ODP.NET, Managed Driver | ODP.NET Core |
|---|---|---|
| Assembly | Oracle.ManagedDataAccess.dll |
Oracle.ManagedDataAccess.dll |
| Namespace | Oracle.ManagedDataAccess.Client |
Oracle.ManagedDataAccess.Client |
| .NET Framework | See System Requirements | - |
| .NET (Core) | - | See System Requirements |