RetryPolicy.OnSendingRequest(HttpMessage) Method

Definition

This method can be overridden to introduce logic before each request attempt is sent. This will run even for the first attempt. This method will only be called for sync methods.

protected internal virtual void OnSendingRequest (Azure.Core.HttpMessage message);
abstract member OnSendingRequest : Azure.Core.HttpMessage -> unit
override this.OnSendingRequest : Azure.Core.HttpMessage -> unit
Protected Friend Overridable Sub OnSendingRequest (message As HttpMessage)

Parameters

message
HttpMessage

The message containing the request and response.

Applies to