你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchError 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
BatchError() |
初始化 BatchError 类的新实例。 |
BatchError(String, ErrorMessage, IList<BatchErrorDetail>) |
初始化 BatchError 类的新实例。 |
BatchError()
BatchError(String, ErrorMessage, IList<BatchErrorDetail>)
- Source:
- BatchError.cs
初始化 BatchError 类的新实例。
public BatchError (string code = default, Microsoft.Azure.Batch.Protocol.Models.ErrorMessage message = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.BatchErrorDetail> values = default);
new Microsoft.Azure.Batch.Protocol.Models.BatchError : string * Microsoft.Azure.Batch.Protocol.Models.ErrorMessage * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.BatchErrorDetail> -> Microsoft.Azure.Batch.Protocol.Models.BatchError
Public Sub New (Optional code As String = Nothing, Optional message As ErrorMessage = Nothing, Optional values As IList(Of BatchErrorDetail) = Nothing)
参数
- code
- String
错误的标识符。 代码是固定的,旨在以编程方式使用。
- message
- ErrorMessage
描述错误的消息,旨在适合在用户界面中显示。
- values
- IList<BatchErrorDetail>
包含有关错误的其他详细信息的键值对的集合。