PipelinePosition Enum
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.
The position at which to insert a PipelinePolicy into the default ClientPipeline policy collection.
public enum PipelinePosition
type PipelinePosition =
Public Enum PipelinePosition
- Inheritance
-
PipelinePosition
Fields
BeforeTransport | 2 | 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 | 0 | 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 | 1 | 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. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기