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

ComputeBatchModelFactory.BatchErrorDetail(String, String) Method

Definition

Initializes a new instance of BatchErrorDetail.

public static Azure.Compute.Batch.BatchErrorDetail BatchErrorDetail (string key = default, string value = default);
static member BatchErrorDetail : string * string -> Azure.Compute.Batch.BatchErrorDetail
Public Shared Function BatchErrorDetail (Optional key As String = Nothing, Optional value As String = Nothing) As BatchErrorDetail

Parameters

key
String

An identifier specifying the meaning of the Value property.

value
String

The additional information included with the error response.

Returns

A new BatchErrorDetail instance for mocking.

Applies to