你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TransferException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
TransferException()
TransferException(TransferErrorCode)
初始化 TransferException 类的新实例。
public TransferException (Microsoft.Azure.Storage.DataMovement.TransferErrorCode errorCode);
new Microsoft.Azure.Storage.DataMovement.TransferException : Microsoft.Azure.Storage.DataMovement.TransferErrorCode -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (errorCode As TransferErrorCode)
参数
- errorCode
- TransferErrorCode
传输错误代码。
适用于
TransferException(String)
初始化 TransferException 类的新实例。
public TransferException (string message);
new Microsoft.Azure.Storage.DataMovement.TransferException : string -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (message As String)
参数
- message
- String
描述错误的消息。
适用于
TransferException(TransferErrorCode, String)
初始化 TransferException 类的新实例。
public TransferException (Microsoft.Azure.Storage.DataMovement.TransferErrorCode errorCode, string message);
new Microsoft.Azure.Storage.DataMovement.TransferException : Microsoft.Azure.Storage.DataMovement.TransferErrorCode * string -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (errorCode As TransferErrorCode, message As String)
参数
- errorCode
- TransferErrorCode
传输错误代码。
- message
- String
异常消息。
适用于
TransferException(String, Exception)
初始化 TransferException 类的新实例。
public TransferException (string message, Exception ex);
new Microsoft.Azure.Storage.DataMovement.TransferException : string * Exception -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (message As String, ex As Exception)
参数
- message
- String
解释异常原因的错误消息。
- ex
- Exception
导致当前异常的异常;如果未指定任何内部异常,则为 null 引用。
适用于
TransferException(TransferErrorCode, String, Exception)
初始化 TransferException 类的新实例。
public TransferException (Microsoft.Azure.Storage.DataMovement.TransferErrorCode errorCode, string message, Exception innerException);
new Microsoft.Azure.Storage.DataMovement.TransferException : Microsoft.Azure.Storage.DataMovement.TransferErrorCode * string * Exception -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (errorCode As TransferErrorCode, message As String, innerException As Exception)
参数
- errorCode
- TransferErrorCode
传输错误代码。
- message
- String
异常消息。
- innerException
- Exception
内部异常。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈