Share via


RetryPolicy.OnSendingRequestAsync(HttpMessage) Method

Definition

This method can be overriden to introduce logic that runs before the request is sent. This will run even for the first attempt. This method will only be called for async methods.

protected internal virtual System.Threading.Tasks.ValueTask OnSendingRequestAsync (Azure.Core.HttpMessage message);
abstract member OnSendingRequestAsync : Azure.Core.HttpMessage -> System.Threading.Tasks.ValueTask
override this.OnSendingRequestAsync : Azure.Core.HttpMessage -> System.Threading.Tasks.ValueTask
Protected Friend Overridable Function OnSendingRequestAsync (message As HttpMessage) As ValueTask

Parameters

message
HttpMessage

The message containing the request and response.

Returns

Applies to