Class MySqlExecutionStrategy
An execution strategy tailored for handling MySql Server transient errors.
Inheritance
System.Object
MySqlExecutionStrategy
Assembly: MySql.Data.EntityFramework.dll
Version: 9.1.0
Syntax
public class MySqlExecutionStrategy : DbExecutionStrategy
Constructors
MySqlExecutionStrategy()
Declaration
public MySqlExecutionStrategy()
Methods
GetNextDelay(Exception)
Declaration
protected override TimeSpan? GetNextDelay(Exception lastException)
Parameters
Type |
Name |
Description |
System.Exception |
lastException |
|
Returns
Type |
Description |
System.Nullable<System.TimeSpan> |
|
ShouldRetryOn(Exception)
Declaration
protected override bool ShouldRetryOn(Exception exception)
Parameters
Type |
Name |
Description |
System.Exception |
exception |
|
Returns
Type |
Description |
System.Boolean |
|