TaskRetryPolicy.RetryOn 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.
An optional predicate deciding whether a given exception is retryable; null retries all.
public Func<Exception,bool>? RetryOn { get; init; }
member this.RetryOn : Func<Exception, bool> with get, set
Public Property RetryOn As Func(Of Exception, Boolean)