This is a factory which creates policies in an HttpPipeline for retrying a given HTTP request. The request that is retried will be identical each time it is reissued. In most cases, it is sufficient to configure a RequestRetryOptions object and set those as a field on a PipelineOptions object to configure a default pipeline. Retries will try against a secondary if one is specified and the type of operation/error indicates that the secondary can handle the request. Exponential and fixed backoff are supported. The factory and policy must only be used directly when creating a custom pipeline.
public class RequestRetryFactory
Creates a factory capable of generating RequestRetry policies for the HttpPipeline.
|create(RequestPolicy next, RequestPolicyOptions options)|