SqlRetryLogicBase.TransientPredicate Property
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.
Delegate to a transient condition predicate. The function that this delegate points to must return a true value when an expected transient exception happens.
public: property Predicate<Exception ^> ^ TransientPredicate { public:
Predicate<Exception ^> ^ get(); protected:
void set(Predicate<Exception ^> ^ value); };
C#
public Predicate<Exception> TransientPredicate { get; protected set; }
member this.TransientPredicate : Predicate<Exception> with get, set
Public Property TransientPredicate As Predicate(Of Exception)
Predicate<T> value that delegates to a function that receives a Exception input parameter.
Product | Versions |
---|---|
SqlClient .NET Core | 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Framework | 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Standard | 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |