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

ClientRetryPolicy.OnRequestSent(PipelineMessage) Method

Definition

A method that can be overridden by derived types to extend the default ClientRetryPolicy logic. It is called from Process(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) just after control has been returned from the policy at the position after the retry policy in the pipeline.

protected virtual void OnRequestSent (System.ClientModel.Primitives.PipelineMessage message);
abstract member OnRequestSent : System.ClientModel.Primitives.PipelineMessage -> unit
override this.OnRequestSent : System.ClientModel.Primitives.PipelineMessage -> unit
Protected Overridable Sub OnRequestSent (message As PipelineMessage)

Parameters

message
PipelineMessage

The PipelineMessage containing the PipelineResponse that was received from the service.

Applies to