Share via


MediaServicesClassFactory.GetStorageTransientErrorDetectionStrategy Method

Creates error detection strategy that can be used for detecting transient errors in Azure storage related operations.

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

Syntax

'Declaration
Public Overridable Function GetStorageTransientErrorDetectionStrategy As MediaErrorDetectionStrategy
'Usage
Dim instance As MediaServicesClassFactory 
Dim returnValue As MediaErrorDetectionStrategy 

returnValue = instance.GetStorageTransientErrorDetectionStrategy()
public virtual MediaErrorDetectionStrategy GetStorageTransientErrorDetectionStrategy()
public:
virtual MediaErrorDetectionStrategy^ GetStorageTransientErrorDetectionStrategy()
abstract GetStorageTransientErrorDetectionStrategy : unit -> MediaErrorDetectionStrategy  
override GetStorageTransientErrorDetectionStrategy : unit -> MediaErrorDetectionStrategy
public function GetStorageTransientErrorDetectionStrategy() : MediaErrorDetectionStrategy

Return Value

Type: Microsoft.WindowsAzure.MediaServices.Client.TransientFaultHandling.MediaErrorDetectionStrategy
Returns MediaErrorDetectionStrategy.

See Also

Reference

MediaServicesClassFactory Class

Microsoft.WindowsAzure.MediaServices.Client Namespace