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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET