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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also