StorageException.TranslateException Method (Exception, RequestResult) (Microsoft.WindowsAzure.Storage)
From Microsoft.WindowsAzure.Storage.Queue
C#
C++
F#
VB
StorageException.::..TranslateException Method (Exception, RequestResult)(Exception^, RequestResult^)(Exception, RequestResult)(Exception, RequestResult)
Translates the specified exception into a StorageException.
Namespace:
Microsoft.WindowsAzure.Storage
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public static StorageException TranslateException(
Exception ex,
RequestResult reqResult
)
C++
public:
static StorageException^ TranslateException(
Exception^ ex,
RequestResult^ reqResult
)
static member TranslateException :
ex:Exception *
reqResult:RequestResult -> StorageException
Public Shared Function TranslateException (
ex As Exception,
reqResult As RequestResult
) As StorageException
Parameters
- ex
-
Type:
System.ExceptionSystem::Exception^System.ExceptionSystem.Exception
The exception to translate.
Return Value
An exception of type StorageException.
Return to top
Translates the specified exception into a StorageException.
Syntax
public static StorageException TranslateException( Exception ex, RequestResult reqResult )
C++
public: static StorageException^ TranslateException( Exception^ ex, RequestResult^ reqResult )
static member TranslateException : ex:Exception * reqResult:RequestResult -> StorageException
Public Shared Function TranslateException ( ex As Exception, reqResult As RequestResult ) As StorageException
Parameters
- ex
-
Type:
System.ExceptionSystem::Exception^System.ExceptionSystem.Exception
The exception to translate.
Return Value
An exception of type StorageException.