Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
PipelinePolicy Class
Definition
- Namespace:
- System.ClientModel.Primitives
- Assembly:
- System.ClientModel.dll
- Package:
- System.ClientModel v1.14.0
- Package:
- System.ClientModel v1.5.0-beta.1
- Source:
- PipelinePolicy.cs
- Source:
- PipelinePolicy.cs
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.
A policy that can be added to a ClientPipeline to process a PipelineMessage during a call to Send(PipelineMessage). Types deriving from PipelinePolicy can read or modify the Request, implement functionality based on Response, and must pass control to the next PipelinePolicy in the pipeline by calling ProcessNext(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32).
public abstract class PipelinePolicy
type PipelinePolicy = class
Public MustInherit Class PipelinePolicy
- Inheritance
-
PipelinePolicy
- Derived
Constructors
| Name | Description |
|---|---|
| PipelinePolicy() | |
Methods
| Name | Description |
|---|---|
| Process(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) |
Process the provided PipelineMessage according to the intended purpose of this PipelinePolicyinstance. Derived types must pass control to the next PipelinePolicy in the pipeline by calling ProcessNext(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). |
| ProcessAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) |
Process the provided PipelineMessage according to the intended purpose of this PipelinePolicyinstance. Derived types must pass control to the next PipelinePolicy in the pipeline by calling ProcessNextAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). |
| ProcessNext(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) |
Passes control to the next PipelinePolicy in the ClientPipeline. |
| ProcessNextAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) |
Passes control to the next PipelinePolicy in the ClientPipeline. |
Applies to
Azure SDK for .NET
Feedback
Was this page helpful?
