DbConnectionFailureEventArgs Class

Provides data for the DbConnectionFailure event, which occurs when the database connection fails during change application.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.Synchronization.Data.DbConnectionFailureEventArgs

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Class DbConnectionFailureEventArgs _
    Inherits EventArgs
'Usage
Dim instance As DbConnectionFailureEventArgs
public class DbConnectionFailureEventArgs : EventArgs
public ref class DbConnectionFailureEventArgs : public EventArgs
type DbConnectionFailureEventArgs =  
    class
        inherit EventArgs
    end
public class DbConnectionFailureEventArgs extends EventArgs

The DbConnectionFailureEventArgs type exposes the following members.

Constructors

  Name Description
Public method DbConnectionFailureEventArgs Initializes a new instance of the DbConnectionFailureEventArgs class with the specified exception, number of retries, and action to take in response to the failure.

Top

Properties

  Name Description
Public property Action Gets or sets the action that is taken in response to the failure of a connection to the database.
Public property FailureException Gets the exception that indicates the cause of the failure.
Public property RetryCount Gets the number of retries that have already been performed for the apply transaction.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Synchronization.Data Namespace