StorageTransientErrorDetectionStrategy.IsTransient Method

Determines whether the specified exception represents a transient failure that can be compensated by a retry.

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

Syntax

'Declaration
Public Function IsTransient ( _
    ex As Exception _
) As Boolean
'Usage
Dim instance As StorageTransientErrorDetectionStrategy 
Dim ex As Exception 
Dim returnValue As Boolean 

returnValue = instance.IsTransient(ex)
public bool IsTransient(
    Exception ex
)
public:
virtual bool IsTransient(
    Exception^ ex
) sealed
abstract IsTransient : 
        ex:Exception -> bool  
override IsTransient : 
        ex:Exception -> bool
public final function IsTransient(
    ex : Exception
) : boolean

Parameters

Return Value

Type: System.Boolean
True, if the specified exception is considered as transient; otherwise, false

Implements

ITransientErrorDetectionStrategyIsTransient(Exception)

See Also

Reference

StorageTransientErrorDetectionStrategy Class

Microsoft.WindowsAzure.MediaServices.Client.AzureStorageClientTransientFaultHandling Namespace