C# Класс Microsoft.Azure.Commands.ResourceManager.Cmdlets.Handlers.RetryHandler

A basic retry handler.
Наследование: System.Net.Http.DelegatingHandler
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Add the authentication token to the outgoing request.

Приватные методы

Метод Описание
GetDelay ( int attempt ) : System.TimeSpan

Gets the delay for the task following an exponential back-off strategy

Описание методов

SendAsync() защищенный Метод

Add the authentication token to the outgoing request.
protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage The HTTP request message.
cancellationToken System.Threading.CancellationToken The cancellation token.
Результат Task