Share via


MediaRetryPolicy Constructor (ITransientErrorDetectionStrategy, Int32, TimeSpan)

Initializes a new instance of the MediaRetryPolicy class.

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

Syntax

'Declaration
Public Sub New ( _
    errorDetectionStrategy As ITransientErrorDetectionStrategy, _
    retryCount As Integer, _
    retryInterval As TimeSpan _
)
'Usage
Dim errorDetectionStrategy As ITransientErrorDetectionStrategy 
Dim retryCount As Integer 
Dim retryInterval As TimeSpan 

Dim instance As New MediaRetryPolicy(errorDetectionStrategy, _
    retryCount, retryInterval)
public MediaRetryPolicy(
    ITransientErrorDetectionStrategy errorDetectionStrategy,
    int retryCount,
    TimeSpan retryInterval
)
public:
MediaRetryPolicy(
    ITransientErrorDetectionStrategy^ errorDetectionStrategy, 
    int retryCount, 
    TimeSpan retryInterval
)
new : 
        errorDetectionStrategy:ITransientErrorDetectionStrategy * 
        retryCount:int * 
        retryInterval:TimeSpan -> MediaRetryPolicy
public function MediaRetryPolicy(
    errorDetectionStrategy : ITransientErrorDetectionStrategy, 
    retryCount : int, 
    retryInterval : TimeSpan
)

Parameters

  • errorDetectionStrategy
    Type: ITransientErrorDetectionStrategy
    The error detection strategy.

See Also

Reference

MediaRetryPolicy Class

MediaRetryPolicy Overload

Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling Namespace