Condividi tramite


StorageException.TranslateException Method

Definition

Overloads

TranslateException(Exception, RequestResult)
TranslateException(Exception, RequestResult, Func<Stream,StorageExtendedErrorInformation>)
TranslateException(Exception, RequestResult, Func<Stream,StorageExtendedErrorInformation>, HttpResponseMessage)

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

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

reqResult
RequestResult

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

reqResult
RequestResult

Returns

Applies to