Freigeben über


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