C#
C++
F#
VB
StorageException.::..TranslateException Method (Exception, RequestResult, Func<Stream, StorageExtendedErrorInformation>)(Exception^, RequestResult^, Func<Stream^, StorageExtendedErrorInformation^>^)(Exception, RequestResult, Func<Stream, StorageExtendedErrorInformation>)(Exception, RequestResult, Func(Of Stream, StorageExtendedErrorInformation))
Translates the specified exception into a storage exception.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public static StorageException TranslateException( Exception ex, RequestResult reqResult, Func<Stream, StorageExtendedErrorInformation> parseError )
C++
public: static StorageException^ TranslateException( Exception^ ex, RequestResult^ reqResult, Func<Stream^, StorageExtendedErrorInformation^>^ parseError )
static member TranslateException : ex:Exception * reqResult:RequestResult * parseError:Func<Stream, StorageExtendedErrorInformation> -> StorageException
Public Shared Function TranslateException ( ex As Exception, reqResult As RequestResult, parseError As Func(Of Stream, StorageExtendedErrorInformation) ) As StorageException
Parameters
- ex
-
Type:
System.ExceptionSystem::Exception^System.ExceptionSystem.Exception
The exception to translate.
- reqResult
-
Type:
Microsoft.WindowsAzure.Storage.RequestResultMicrosoft.WindowsAzure.Storage::RequestResult^Microsoft.WindowsAzure.Storage.RequestResultMicrosoft.WindowsAzure.Storage.RequestResult
The request result.
- parseError
-
Type:
System.Func<Stream, StorageExtendedErrorInformation>System::Func<Stream^, StorageExtendedErrorInformation^>^System.Func<Stream, StorageExtendedErrorInformation>System.Func(Of Stream, StorageExtendedErrorInformation)
The delegate used to parse the error to get extended error information.