你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StorageException.TranslateException 方法

定义

重载

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

参数

reqResult
RequestResult

返回

适用于

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

参数

reqResult
RequestResult

返回

适用于

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

参数

reqResult
RequestResult

返回

适用于