RetryPolicy.OnSendingRequestAsync(HttpMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET