你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PipelinePolicy Class

Definition

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

PipelinePolicy()

Methods

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