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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET