Share via


RetryManager.GetRetryPolicy Method

Definition

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