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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET