MediaRetryPolicy Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MediaRetryPolicy(ITransientErrorDetectionStrategy, RetryStrategy)
public MediaRetryPolicy (Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, Microsoft.Practices.TransientFaultHandling.RetryStrategy retryStrategy);
new Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy : Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy * Microsoft.Practices.TransientFaultHandling.RetryStrategy -> Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryStrategy As RetryStrategy)
Parameters
- errorDetectionStrategy
- Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy
- retryStrategy
- Microsoft.Practices.TransientFaultHandling.RetryStrategy
Applies to
MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32)
public MediaRetryPolicy (Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount);
new Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy : Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy * int -> Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryCount As Integer)
Parameters
- errorDetectionStrategy
- Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy
- retryCount
- Int32
Applies to
MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan)
public MediaRetryPolicy (Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, TimeSpan retryInterval);
new Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy : Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy * int * TimeSpan -> Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryCount As Integer, retryInterval As TimeSpan)
Parameters
- errorDetectionStrategy
- Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy
- retryCount
- Int32
- retryInterval
- TimeSpan
Applies to
MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan)
public MediaRetryPolicy (Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, TimeSpan initialInterval, TimeSpan increment);
new Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy : Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy * int * TimeSpan * TimeSpan -> Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryCount As Integer, initialInterval As TimeSpan, increment As TimeSpan)
Parameters
- errorDetectionStrategy
- Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy
- retryCount
- Int32
- initialInterval
- TimeSpan
- increment
- TimeSpan
Applies to
MediaRetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan, TimeSpan, IRetryPolicyAdapter)
public MediaRetryPolicy (Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, TimeSpan minBackoff, TimeSpan maxBackoff, TimeSpan deltaBackoff, Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.IRetryPolicyAdapter adapter = default);
new Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy : Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy * int * TimeSpan * TimeSpan * TimeSpan * Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.IRetryPolicyAdapter -> Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaRetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryCount As Integer, minBackoff As TimeSpan, maxBackoff As TimeSpan, deltaBackoff As TimeSpan, Optional adapter As IRetryPolicyAdapter = Nothing)
Parameters
- errorDetectionStrategy
- Microsoft.Practices.TransientFaultHandling.ITransientErrorDetectionStrategy
- retryCount
- Int32
- minBackoff
- TimeSpan
- maxBackoff
- TimeSpan
- deltaBackoff
- TimeSpan
- adapter
- IRetryPolicyAdapter
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET