PipelinePolicy.ProcessNext Method

Definition

Passes control to the next PipelinePolicy in the ClientPipeline.

C#
protected static void ProcessNext(System.ClientModel.Primitives.PipelineMessage message, System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> pipeline, int currentIndex);

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 Process(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) should pass the value of currentIndex it received without modifying it.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview