RetryPolicy.ProcessAsync 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.
This method can be overriden to take full control over the retry policy. If this is overriden and the base method isn't called, it is the implementer's responsibility to populate the ProcessingContext property. This method will only be called for async methods.
public override System.Threading.Tasks.ValueTask ProcessAsync (Azure.Core.HttpMessage message, ReadOnlyMemory<Azure.Core.Pipeline.HttpPipelinePolicy> pipeline);
override this.ProcessAsync : Azure.Core.HttpMessage * ReadOnlyMemory<Azure.Core.Pipeline.HttpPipelinePolicy> -> System.Threading.Tasks.ValueTask
Public Overrides Function ProcessAsync (message As HttpMessage, pipeline As ReadOnlyMemory(Of HttpPipelinePolicy)) As ValueTask
Parameters
- message
- HttpMessage
The HttpMessage this policy would be applied to.
- pipeline
- ReadOnlyMemory<HttpPipelinePolicy>
The set of HttpPipelinePolicy to execute after current one.
Returns
The ValueTask representing the asynchronous operation.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för