Share via


PipelinePolicy.ProcessNext Method

Definition

Passes control to the next PipelinePolicy in the ClientPipeline.

protected static void ProcessNext (System.ClientModel.Primitives.PipelineMessage message, System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> pipeline, int currentIndex);
static member ProcessNext : System.ClientModel.Primitives.PipelineMessage * System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> * int -> unit
Protected Shared Sub ProcessNext (message As PipelineMessage, pipeline As IReadOnlyList(Of PipelinePolicy), currentIndex As Integer)

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