Partager via


HttpClientWithRetry Constructors

Definition

Overloads

HttpClientWithRetry()
HttpClientWithRetry(HttpClient)
HttpClientWithRetry(HttpClient, Func<IHttpRetryAlgorithm>)
HttpClientWithRetry(TimeSpan, Int32, Int32)

HttpClientWithRetry()

public HttpClientWithRetry ();
Public Sub New ()

Applies to

HttpClientWithRetry(HttpClient)

public HttpClientWithRetry (System.Net.Http.HttpClient client);
new Microsoft.Azure.Commands.Common.Authentication.HttpClientWithRetry : System.Net.Http.HttpClient -> Microsoft.Azure.Commands.Common.Authentication.HttpClientWithRetry
Public Sub New (client As HttpClient)

Parameters

client
HttpClient

Applies to

HttpClientWithRetry(HttpClient, Func<IHttpRetryAlgorithm>)

public HttpClientWithRetry (System.Net.Http.HttpClient client, Func<Microsoft.Azure.Commands.Common.Authentication.Utilities.IHttpRetryAlgorithm> retry);
new Microsoft.Azure.Commands.Common.Authentication.HttpClientWithRetry : System.Net.Http.HttpClient * Func<Microsoft.Azure.Commands.Common.Authentication.Utilities.IHttpRetryAlgorithm> -> Microsoft.Azure.Commands.Common.Authentication.HttpClientWithRetry
Public Sub New (client As HttpClient, retry As Func(Of IHttpRetryAlgorithm))

Parameters

client
HttpClient

Applies to

HttpClientWithRetry(TimeSpan, Int32, Int32)

public HttpClientWithRetry (TimeSpan interval, int multiplier, int maxTries);
new Microsoft.Azure.Commands.Common.Authentication.HttpClientWithRetry : TimeSpan * int * int -> Microsoft.Azure.Commands.Common.Authentication.HttpClientWithRetry
Public Sub New (interval As TimeSpan, multiplier As Integer, maxTries As Integer)

Parameters

interval
TimeSpan
multiplier
Int32
maxTries
Int32

Applies to