Share via


MediaRetryPolicy Class

Handles media retry policy.

Inheritance Hierarchy

System.Object
  RetryPolicy
    Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy

Namespace:  Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Class MediaRetryPolicy _
    Inherits RetryPolicy
'Usage
Dim instance As MediaRetryPolicy
public class MediaRetryPolicy : RetryPolicy
public ref class MediaRetryPolicy : public RetryPolicy
type MediaRetryPolicy =  
    class 
        inherit RetryPolicy 
    end
public class MediaRetryPolicy extends RetryPolicy

The MediaRetryPolicy type exposes the following members.

Constructors

  Name Description
Public method MediaRetryPolicy(ITransientErrorDetectionStrategy, RetryStrategy) Initializes a new instance of the MediaRetryPolicy class.
Public method MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32) Initializes a new instance of the MediaRetryPolicy class.
Public method MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan) Initializes a new instance of the MediaRetryPolicy class.
Public method MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan) Initializes a new instance of the MediaRetryPolicy class.
Public method MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan, TimeSpan) Initializes a new instance of the MediaRetryPolicy class.

Top

Properties

  Name Description
Public property ErrorDetectionStrategy (Inherited from RetryPolicy.)
Public property RetryStrategy (Inherited from RetryPolicy.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method ExecuteAction(Action) (Inherited from RetryPolicy.)
Public method ExecuteAction(ActionAsyncCallback, ActionIAsyncResult, Action, ActionException) Obsolete. (Inherited from RetryPolicy.)
Public method ExecuteAction``1(FuncUMP) (Inherited from RetryPolicy.)
Public method ExecuteAction<TResult>(Func<TResult>) (Overrides RetryPolicyExecuteAction``1(FuncUMP).)
Public method ExecuteAction``1(ActionAsyncCallback, FuncIAsyncResult, UMP, ActionUMP, ActionException) Obsolete. (Inherited from RetryPolicy.)
Public method ExecuteAsync(FuncTask) (Inherited from RetryPolicy.)
Public method ExecuteAsync(FuncTask, CancellationToken) (Inherited from RetryPolicy.)
Public method ExecuteAsync``1(FuncTaskUMP) (Inherited from RetryPolicy.)
Public method ExecuteAsync``1(FuncTaskUMP, CancellationToken) (Inherited from RetryPolicy.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnRetrying (Inherited from RetryPolicy.)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event Retrying (Inherited from RetryPolicy.)

Top

Extension Methods

  Name Description
Public Extension Method AsAzureStorageClientRetryPolicy (Defined by RetryPolicyExtensions.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling Namespace