Share via


BatchError Constructors

Definition

Overloads

BatchError()

Initializes a new instance of the BatchError class.

BatchError(String, ErrorMessage, IList<BatchErrorDetail>)

Initializes a new instance of the BatchError class.

BatchError()

Source:
BatchError.cs

Initializes a new instance of the BatchError class.

public BatchError ();
Public Sub New ()

Applies to

BatchError(String, ErrorMessage, IList<BatchErrorDetail>)

Source:
BatchError.cs

Initializes a new instance of the BatchError class.

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)

Parameters

code
String

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

message
ErrorMessage

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

values
IList<BatchErrorDetail>

A collection of key-value pairs containing additional details about the error.

Applies to