Share via


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

StorageException 构造函数

定义

重载

StorageException()

初始化 StorageException 类的新实例。

StorageException(String)

使用指定的错误消息初始化 StorageException 类的新实例。

StorageException(String, Exception)

使用指定的错误消息和对生成此异常的内部异常的引用初始化 类的新实例 StorageException

StorageException(RequestResult, String, Exception)

使用指定的参数初始化 StorageException 类的新实例。

StorageException()

初始化 StorageException 类的新实例。

public StorageException ();
Public Sub New ()

适用于

StorageException(String)

使用指定的错误消息初始化 StorageException 类的新实例。

public StorageException (string message);
new Microsoft.Azure.Cosmos.Table.StorageException : string -> Microsoft.Azure.Cosmos.Table.StorageException
Public Sub New (message As String)

参数

message
String

描述错误的消息。

适用于

StorageException(String, Exception)

使用指定的错误消息和对生成此异常的内部异常的引用初始化 类的新实例 StorageException

public StorageException (string message, Exception innerException);
new Microsoft.Azure.Cosmos.Table.StorageException : string * Exception -> Microsoft.Azure.Cosmos.Table.StorageException
Public Sub New (message As String, innerException As Exception)

参数

message
String

异常错误消息。

innerException
Exception

内部异常。

适用于

StorageException(RequestResult, String, Exception)

使用指定的参数初始化 StorageException 类的新实例。

public StorageException (Microsoft.Azure.Cosmos.Table.RequestResult res, string message, Exception inner);
new Microsoft.Azure.Cosmos.Table.StorageException : Microsoft.Azure.Cosmos.Table.RequestResult * string * Exception -> Microsoft.Azure.Cosmos.Table.StorageException
Public Sub New (res As RequestResult, message As String, inner As Exception)

参数

res
RequestResult

请求结果。

message
String

异常消息。

inner
Exception

内部异常。

适用于