HttpPipeline.RetryError 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.
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.Quota.Runtime.IEventListener callback, Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.ISendAsync next);
member this.RetryError : System.Net.Http.HttpRequestMessage * Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Quota.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
- request
- HttpRequestMessage
- callback
- IEventListener
- next
- ISendAsync