共用方式為


MediaRetryPolicy Class

Definition

public class MediaRetryPolicy : Microsoft.Practices.TransientFaultHandling.RetryPolicy
type MediaRetryPolicy = class
    inherit RetryPolicy
Public Class MediaRetryPolicy
Inherits RetryPolicy
Inheritance
Microsoft.Practices.TransientFaultHandling.RetryPolicy
MediaRetryPolicy

Constructors

MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan, TimeSpan, IRetryPolicyAdapter)
MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan)
MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan)
MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32)
MediaRetryPolicy(ITransientErrorDetectionStrategy, RetryStrategy)

Properties

RetryPolicyAdapter

Methods

ExecuteAction<TResult>(Func<TResult>)
ExecuteAsync(Func<Task>, CancellationToken)
ExecuteAsync(Func<Task>)
ExecuteAsync<TResult>(Func<Task<TResult>>, CancellationToken)
ExecuteAsync<TResult>(Func<Task<TResult>>)

Applies to