DbConnectionFailureEventArgs Class

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

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

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

public class DbConnectionFailureEventArgs : EventArgs

The DbConnectionFailureEventArgs type exposes the following members.

  NameDescription
Public methodDbConnectionFailureEventArgsInitializes a new instance of the DbConnectionFailureEventArgs class with the specified exception, number of retries, and action to take in response to the failure.
Top

  NameDescription
Public propertyActionGets or sets the action that is taken in response to the failure of a connection to the database.
Public propertyFailureExceptionGets the exception that indicates the cause of the failure.
Public propertyRetryCountGets the number of retries that have already been performed for the apply transaction.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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