StorageException.TranslateException Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TranslateException(Exception, RequestResult)
public static Microsoft.WindowsAzure.Storage.StorageException TranslateException (Exception ex, Microsoft.WindowsAzure.Storage.RequestResult reqResult);
static member TranslateException : Exception * Microsoft.WindowsAzure.Storage.RequestResult -> Microsoft.WindowsAzure.Storage.StorageException
Public Shared Function TranslateException (ex As Exception, reqResult As RequestResult) As StorageException
Parameters
- ex
- Exception
- reqResult
- RequestResult
Returns
Applies to
TranslateException(Exception, RequestResult, Func<Stream,StorageExtendedErrorInformation>)
public static Microsoft.WindowsAzure.Storage.StorageException TranslateException (Exception ex, Microsoft.WindowsAzure.Storage.RequestResult reqResult, Func<System.IO.Stream,Microsoft.WindowsAzure.Storage.StorageExtendedErrorInformation> parseError);
static member TranslateException : Exception * Microsoft.WindowsAzure.Storage.RequestResult * Func<System.IO.Stream, Microsoft.WindowsAzure.Storage.StorageExtendedErrorInformation> -> Microsoft.WindowsAzure.Storage.StorageException
Public Shared Function TranslateException (ex As Exception, reqResult As RequestResult, parseError As Func(Of Stream, StorageExtendedErrorInformation)) As StorageException
Parameters
- ex
- Exception
- reqResult
- RequestResult
- parseError
- Func<Stream,StorageExtendedErrorInformation>
Returns
Applies to
TranslateException(Exception, RequestResult, Func<Stream,StorageExtendedErrorInformation>, HttpResponseMessage)
public static Microsoft.WindowsAzure.Storage.StorageException TranslateException (Exception ex, Microsoft.WindowsAzure.Storage.RequestResult reqResult, Func<System.IO.Stream,Microsoft.WindowsAzure.Storage.StorageExtendedErrorInformation> parseError, System.Net.Http.HttpResponseMessage response);
static member TranslateException : Exception * Microsoft.WindowsAzure.Storage.RequestResult * Func<System.IO.Stream, Microsoft.WindowsAzure.Storage.StorageExtendedErrorInformation> * System.Net.Http.HttpResponseMessage -> Microsoft.WindowsAzure.Storage.StorageException
Public Shared Function TranslateException (ex As Exception, reqResult As RequestResult, parseError As Func(Of Stream, StorageExtendedErrorInformation), response As HttpResponseMessage) As StorageException
Parameters
- ex
- Exception
- reqResult
- RequestResult
- parseError
- Func<Stream,StorageExtendedErrorInformation>
- response
- HttpResponseMessage
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.