MediaRetryPolicy Constructor (ITransientErrorDetectionStrategy, RetryStrategy)
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, _
retryStrategy As RetryStrategy _
)
'Usage
Dim errorDetectionStrategy As ITransientErrorDetectionStrategy
Dim retryStrategy As RetryStrategy
Dim instance As New MediaRetryPolicy(errorDetectionStrategy, _
retryStrategy)
public MediaRetryPolicy(
ITransientErrorDetectionStrategy errorDetectionStrategy,
RetryStrategy retryStrategy
)
public:
MediaRetryPolicy(
ITransientErrorDetectionStrategy^ errorDetectionStrategy,
RetryStrategy^ retryStrategy
)
new :
errorDetectionStrategy:ITransientErrorDetectionStrategy *
retryStrategy:RetryStrategy -> MediaRetryPolicy
public function MediaRetryPolicy(
errorDetectionStrategy : ITransientErrorDetectionStrategy,
retryStrategy : RetryStrategy
)
Parameters
- errorDetectionStrategy
Type: ITransientErrorDetectionStrategy
The error detection strategy.
- retryStrategy
Type: RetryStrategy
The retry strategy.
See Also
Reference
Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling Namespace