PipelinePolicy.ProcessNextAsync 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.
Passes control to the next PipelinePolicy in the ClientPipeline.
protected static System.Threading.Tasks.ValueTask ProcessNextAsync (System.ClientModel.Primitives.PipelineMessage message, System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> pipeline, int currentIndex);
static member ProcessNextAsync : System.ClientModel.Primitives.PipelineMessage * System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> * int -> System.Threading.Tasks.ValueTask
Protected Shared Function ProcessNextAsync (message As PipelineMessage, pipeline As IReadOnlyList(Of PipelinePolicy), currentIndex As Integer) As ValueTask
Parameters
- message
- PipelineMessage
The PipelineMessage to process.
- pipeline
- IReadOnlyList<PipelinePolicy>
The collection of PipelinePolicy instances in the ClientPipeline.
- currentIndex
- Int32
The index of this policy in the
pipeline
policy list. The derived-type implementation
of ProcessAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32)
should pass the value of currentIndex
it received
without modifying it.
Returns
Applies to
Azure SDK for .NET