Skip Headers
Oracle® Data Provider for .NET Developer's Guide
11g Release 2 (11.2.0.3)

Part Number E23174-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

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

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.

Requirements

Namespace: Oracle.DataAccess.Client

Assembly: Oracle.DataAccess.dll

ODP.NET Version: ODP.NET for .NET Framework 2.0 or ODP.NET for .NET Framework 4.


OracleHAEventArgs Members

OracleHAEventArgs members are listed in the following table.

OracleHAEventArgs Properties

The OracleHAEventArgs properties are listed in Table 8-2.

Table 8-1 OracleHAEventArgs Properties

Name Description

DatabaseDomainName

Specifies the domain name of the database affected by the HAevent

DatabaseName

Specifies the database affected by the HAevent

HostName

Specifies the host that triggered the event

InstanceName

Specifies the instance that triggered the event

ServiceName

Specifies the service that triggered the event

Source

Specifies the source that triggered the event

Status

Specifies the status of the source that triggered the event

Time

Specifies the time when the event was triggered on the server



OracleHAEventArgs Properties

The OracleHAEventArgs properties are listed in Table 8-2.

Table 8-2 OracleHAEventArgs Properties

Name Description

DatabaseDomainName

Specifies the domain name of the database affected by the HAevent

DatabaseName

Specifies the database affected by the HAevent

HostName

Specifies the host that triggered the event

InstanceName

Specifies the instance that triggered the event

ServiceName

Specifies the service that triggered the event

Source

Specifies the source that triggered the event

Status

Specifies the status of the source that triggered the event

Time

Specifies the time when the event was triggered on the server


DatabaseDomainName

This property specifies the domain name of the database that is affected by the HA event.

Declaration

// C#
public string DatabaseDomainName {get;}

Property Value

The domain name of the database that is affected by the HA Event.

DatabaseName

This property specifies the database that is affected by the HA event.

Declaration

// C#
public string DatabaseName {get;}

Property Value

This property specifies the database name that is affected by the HA event.

HostName

This property specifies the host that triggered the HA event.

Declaration

// C#
public string HostName {get;}

Property Value

The host that is affected by the HA Event.

InstanceName

This property specifies the instance that triggered the HA event.

Declaration

// C#
public string InstanceName {get;}

Property Value

The instance that is affected by the HA Event.

ServiceName

This property specifies the service that triggered the HA event.

Declaration

// C#
public string ServiceName {get;}

Property Value

The service that is affected by the HA Event.

Source

This property specifies the source that triggered the HA event.

Declaration

// C#
public OracleHAEventSource Source {get;}

Property Value

The source that triggered the HA Event.

Status

This property specifies the status of the source that triggered the HA event.

Declaration

// C#
public OracleHAEventStatus Status {get;}

Property Value

The status of the source that triggered the HA Event.

Time

This property specifies the time when the HA event was triggered on the server.

Declaration

// C#
public DateTime Time {get;}

Property Value

The time that the HA Event was triggered.