ExponentialRetry.Evaluate(RetryContext, OperationContext) 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.
Determines whether the operation should be retried and the interval until the next retry.
public Microsoft.Azure.Storage.RetryPolicies.RetryInfo Evaluate (Microsoft.Azure.Storage.RetryPolicies.RetryContext retryContext, Microsoft.Azure.Storage.OperationContext operationContext);
abstract member Evaluate : Microsoft.Azure.Storage.RetryPolicies.RetryContext * Microsoft.Azure.Storage.OperationContext -> Microsoft.Azure.Storage.RetryPolicies.RetryInfo
override this.Evaluate : Microsoft.Azure.Storage.RetryPolicies.RetryContext * Microsoft.Azure.Storage.OperationContext -> Microsoft.Azure.Storage.RetryPolicies.RetryInfo
Public Function Evaluate (retryContext As RetryContext, operationContext As OperationContext) As RetryInfo
Parameters
- retryContext
- RetryContext
A RetryContext object that indicates the number of retries, the results of the last request, and whether the next retry should happen in the primary or secondary location, and specifies the location mode.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
Returns
A RetryInfo object that indicates the location mode, and whether the next retry should happen in the primary or secondary location. If null
, the operation will not be retried.
Implements
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應