Udostępnij za pośrednictwem


HttpPipelinePolicy.Process Method

Definition

Applies the policy to the message. Implementers are expected to mutate Request before calling ProcessNextAsync(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>) and observe the Response changes after.

public abstract void Process (Azure.Core.HttpMessage message, ReadOnlyMemory<Azure.Core.Pipeline.HttpPipelinePolicy> pipeline);
abstract member Process : Azure.Core.HttpMessage * ReadOnlyMemory<Azure.Core.Pipeline.HttpPipelinePolicy> -> unit
Public MustOverride Sub Process (message As HttpMessage, pipeline As ReadOnlyMemory(Of HttpPipelinePolicy))

Parameters

message
HttpMessage

The HttpMessage this policy would be applied to.

pipeline
ReadOnlyMemory<HttpPipelinePolicy>

The set of HttpPipelinePolicy to execute after current one.

Applies to