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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET