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 | |
---|---|---|
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 | |
---|---|---|
Action | Gets or sets the action that is taken in response to the failure of a connection to the database. | |
FailureException | Gets the exception that indicates the cause of the failure. | |
RetryCount | Gets the number of retries that have already been performed for the apply transaction. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.