HttpPipeline.Retry429(HttpRequestMessage, IEventListener, ISendAsync) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.StackHCIVM.Runtime.IEventListener callback, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.ISendAsync next);
member this.Retry429 : System.Net.Http.HttpRequestMessage * Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.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
- request
- HttpRequestMessage
- callback
- IEventListener
- next
- ISendAsync