dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleHAEventHandler Delegate
An OracleHAEventArgs object that contains the event data.

In This Topic
    OracleHAEventHandler Delegate
    In This Topic
    Represents the method that will handle the OracleConnection.HAEvent event of an OracleConnection.
    Syntax
    'Declaration
     
    Public Delegate Sub OracleHAEventHandler( _
       ByVal e As OracleHAEventArgs _
    ) 
    public delegate void OracleHAEventHandler( 
       OracleHAEventArgs e
    )

    Parameters

    e
    An OracleHAEventArgs object that contains the event data.
    Remarks
    When you create an OracleHAEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see "Events and Delegates" in the .NET Framework SDK documentation. Note that you need to set the OracleConnectionStringBuilder.HAEvents connection string parameter to true in order to receive HA events.
    See Also