Table of Contents

Method By

Namespace
Velvet
Assembly
Velvet.Docs.dll

By(Func<int, Exception, TimeSpan>)

Waits what compute returns for the number of failures before this one and this failure's exception.

public static RetryDelayRule By(Func<int, Exception, TimeSpan> compute)

Parameters

compute Func<int, Exception, TimeSpan>

Returns

RetryDelayRule

Exceptions

ArgumentNullException

compute is null.