Udostępnij za pośrednictwem


OperationRetrySettings.ClientRetryTimeout Property

Definition

Gets the timeout for the client side retry. If you specify ClientRetryTimeout, cancellation token, and use MaxRetryCount for Exception Handling, then whichever will be come first, will be honoured. ClientRetryTimeout is useful in the cases where communication between client and service is not working and calls are getting retried. In those cases, you can use this timeout to come out of the retry loop.

public TimeSpan ClientRetryTimeout { get; }
member this.ClientRetryTimeout : TimeSpan
Public ReadOnly Property ClientRetryTimeout As TimeSpan

Property Value

Amount of time we retry before throwing the OperationCancelledException to the user Api.

Applies to