Partilhar via


ComputeBatchModelFactory.BatchNodeError Method

Definition

Initializes a new instance of BatchNodeError.

public static Azure.Compute.Batch.BatchNodeError BatchNodeError (string code = default, string message = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.NameValuePair> errorDetails = default);
static member BatchNodeError : string * string * seq<Azure.Compute.Batch.NameValuePair> -> Azure.Compute.Batch.BatchNodeError
Public Shared Function BatchNodeError (Optional code As String = Nothing, Optional message As String = Nothing, Optional errorDetails As IEnumerable(Of NameValuePair) = Nothing) As BatchNodeError

Parameters

code
String

An identifier for the Compute Node error. Codes are invariant and are intended to be consumed programmatically.

message
String

A message describing the Compute Node error, intended to be suitable for display in a user interface.

errorDetails
IEnumerable<NameValuePair>

The list of additional error details related to the Compute Node error.

Returns

A new BatchNodeError instance for mocking.

Applies to