DbConnectionFailureEventArgs Constructor

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

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

public:
DbConnectionFailureEventArgs(
	Exception^ failureException, 
	int retryCount, 
	DbConnectionFailureAction action
)

Parameters

failureException
Type: System::Exception
The exception that indicates the cause of the failure.
retryCount
Type: System::Int32
The number of retries that have been performed for the apply transaction.
action
Type: Microsoft.Synchronization.Data::DbConnectionFailureAction
The action that will be taken in response to the failure.
Show: