Enum PipelinePosition
The position at which to insert a PipelinePolicy into the default ClientPipeline policy collection.
Namespace: System.Dynamic.ExpandoObject
Assembly: System.ClientModel.dll
Syntax
public enum PipelinePosition
BeforeTransport
Insert the PipelinePolicy just before the pipeline's Transport. Policies added to a pipeline in this position will run after all other polices in the ClientPipeline have viewed the Request and before they view the Response. Adding policies at this position should be done with care since changes made to the Request by a before-transport policy will not be visible to any logging policies that come before it in the pipeline.
PerCall
Insert the PipelinePolicy before the pipeline's RetryPolicy. Policies added to a pipeline in this position will run once per invocation of Send(PipelineMessage).
PerTry
Insert the PipelinePolicy after the pipeline's RetryPolicy. Policies added to a pipeline in this position will run each time the pipeline tries to send the Request.