你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.EventGrid.Runtime.IEventListener callback, Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.ISendAsync next);
member this.RetryError : 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 RetryError (request As HttpRequestMessage, callback As IEventListener, next As ISendAsync) As Task(Of HttpResponseMessage)

Parameters

callback
IEventListener
next
ISendAsync

Returns

Applies to