ServiceBusRetryPolicy.CalculateTryTimeout(Int32) 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.
Calculates the amount of time to allow the current attempt for an operation to complete before considering it to be timed out.
public abstract TimeSpan CalculateTryTimeout (int attemptCount);
abstract member CalculateTryTimeout : int -> TimeSpan
Public MustOverride Function CalculateTryTimeout (attemptCount As Integer) As TimeSpan
Parameters
- attemptCount
- Int32
The number of total attempts that have been made, including the initial attempt before any retries.
Returns
The amount of time to allow for an operation to complete.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET