Share via


MediaServicesClassFactory.GetSaveChangesErrorDetectionStrategy Method

Creates error detection strategy that can be used for detecting transient errors when SaveChanges() is invoked.

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

Syntax

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

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

Return Value

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

See Also

Reference

MediaServicesClassFactory Class

Microsoft.WindowsAzure.MediaServices.Client Namespace