Skip Headers

Oracle® Data Provider for .NET Developer's Guide
10g Release 1 (10.1.0.3)
Part No. B14164-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous Next  

FailoverEvent Enumeration

FailoverEvent enumerated values are used to explicitly specify the state of the failover.

Table 7-7 lists all the FailoverEvent enumeration values with a description of each enumerated value.

Table 7-7 FailoverEvent Enumeration Values

Member Names Description
FailoverEvent.Begin Indicates that failover has detected a lost connection and that failover is starting.
FailoverEvent.End Indicates successful completion of failover.
FailoverEvent.Abort Indicates that failover was unsuccessful, and there is no option of retrying.
FailoverEvent.Error Indicates that failover was unsuccessful, and it gives the application the opportunity to handle the error and retry failover. The application can retry failover by returning FailoverReturnCode.Retry for the event notification.
FailoverEvent.Reauth Indicates that a user handle has been reauthenticated. This applies to the situation where a client has multiple user sessions on a single server connection. During the initial failover, only the active user session is failed over. Other sessions are failed over when the application tries to use them. This is the value passed to the callback during these subsequent failovers.