다음을 통해 공유


HttpPipelinePolicy.ProcessAsync 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 System.Threading.Tasks.ValueTask ProcessAsync (Azure.Core.HttpMessage message, ReadOnlyMemory<Azure.Core.Pipeline.HttpPipelinePolicy> pipeline);
abstract member ProcessAsync : Azure.Core.HttpMessage * ReadOnlyMemory<Azure.Core.Pipeline.HttpPipelinePolicy> -> System.Threading.Tasks.ValueTask
Public MustOverride Function ProcessAsync (message As HttpMessage, pipeline As ReadOnlyMemory(Of HttpPipelinePolicy)) As ValueTask

Parameters

message
HttpMessage

The HttpMessage this policy would be applied to.

pipeline
ReadOnlyMemory<HttpPipelinePolicy>

The set of HttpPipelinePolicy to execute after current one.

Returns

The ValueTask representing the asynchronous operation.

Applies to