RetryManager.GetRetryPolicy 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.
Overloads
GetRetryPolicy<T>() | |
GetRetryPolicy<T>(String) |
GetRetryPolicy<T>()
public virtual Microsoft.Rest.TransientFaultHandling.RetryPolicy<T> GetRetryPolicy<T> () where T : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy, new();
abstract member GetRetryPolicy : unit -> Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))
override this.GetRetryPolicy : unit -> Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))
Public Overridable Function GetRetryPolicy(Of T As {ITransientErrorDetectionStrategyNew}) () As RetryPolicy(Of T)
Type Parameters
- T
Returns
Applies to
GetRetryPolicy<T>(String)
public virtual Microsoft.Rest.TransientFaultHandling.RetryPolicy<T> GetRetryPolicy<T> (string retryStrategyName) where T : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy, new();
abstract member GetRetryPolicy : string -> Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))
override this.GetRetryPolicy : string -> Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))
Public Overridable Function GetRetryPolicy(Of T As {ITransientErrorDetectionStrategyNew}) (retryStrategyName As String) As RetryPolicy(Of T)
Type Parameters
- T
Parameters
- retryStrategyName
- String
Returns
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