SqlRetryLogicBaseProvider.RetryLogic Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the retry logic used to decide when to retry based on the encountered exception.
public Microsoft.Data.SqlClient.SqlRetryLogicBase RetryLogic { get; protected set; }
member this.RetryLogic : Microsoft.Data.SqlClient.SqlRetryLogicBase with get, set
Public Property RetryLogic As SqlRetryLogicBase
Property Value
Remarks
Note
The RetryLogic property is assigned at SqlRetryLogicBaseProvider creation and its value is used as a template internally. Don't use it to monitor the status of the retry logic during and after execution. Instead, use the <xref=E:Microsoft.Data.SqlClient.SqlRetryLogicBaseProvider.Retrying> event to collect data about retry executions.