你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.VMware.Runtime.IEventListener callback, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.ISendAsync next);
member this.Retry429 : System.Net.Http.HttpRequestMessage * Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.VMware.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