Partilhar via


ComputeBatchModelFactory.BatchJobSchedulingError Method

Definition

Initializes a new instance of BatchJobSchedulingError.

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

Parameters

category
ErrorCategory

The category of the Job scheduling error.

code
String

An identifier for the Job scheduling error. Codes are invariant and are intended to be consumed programmatically.

message
String

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

details
IEnumerable<NameValuePair>

A list of additional error details related to the scheduling error.

Returns

A new BatchJobSchedulingError instance for mocking.

Applies to