Share via


HttpPipeline.Retry429(HttpRequestMessage, IEventListener, ISendAsync) Method

Definition

The step to handle 429 response with retry-after header.

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> Retry429 (System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.IEventListener callback, Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.ISendAsync next);
member this.Retry429 : System.Net.Http.HttpRequestMessage * Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.ISendAsync -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function Retry429 (request As HttpRequestMessage, callback As IEventListener, next As ISendAsync) As Task(Of HttpResponseMessage)

Parameters

callback
IEventListener
next
ISendAsync

Returns

Applies to