Partager via


RetryManager.GetRetryPolicy Méthode

Définition

Surcharges

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)

Paramètres de type

T

Retours

S’applique à

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)

Paramètres de type

T

Paramètres

retryStrategyName
String

Retours

S’applique à