Sdílet prostřednictvím


HttpPipeline.RetryError Method

Definition

Returns true if status code in HttpRequestExceptionWithStatus exception is greater than or equal to 500 and not NotImplemented (501) or HttpVersionNotSupported (505). Or it's 429 (TOO MANY REQUESTS) without Retry-After header.

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

Parameters

callback
IEventListener
next
ISendAsync

Returns

Applies to