Condividi tramite


TaskFailureInformation Constructors

Definition

Overloads

TaskFailureInformation()

Initializes a new instance of the TaskFailureInformation class.

TaskFailureInformation(ErrorCategory, String, String, IList<NameValuePair>)

Initializes a new instance of the TaskFailureInformation class.

TaskFailureInformation()

Source:
TaskFailureInformation.cs

Initializes a new instance of the TaskFailureInformation class.

public TaskFailureInformation ();
Public Sub New ()

Applies to

TaskFailureInformation(ErrorCategory, String, String, IList<NameValuePair>)

Source:
TaskFailureInformation.cs

Initializes a new instance of the TaskFailureInformation class.

public TaskFailureInformation (Microsoft.Azure.Batch.Protocol.Models.ErrorCategory category, string code = default, string message = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.NameValuePair> details = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskFailureInformation : Microsoft.Azure.Batch.Protocol.Models.ErrorCategory * string * string * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.NameValuePair> -> Microsoft.Azure.Batch.Protocol.Models.TaskFailureInformation
Public Sub New (category As ErrorCategory, Optional code As String = Nothing, Optional message As String = Nothing, Optional details As IList(Of NameValuePair) = Nothing)

Parameters

category
ErrorCategory

The category of the Task error.

code
String

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

message
String

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

details
IList<NameValuePair>

A list of additional details related to the error.

Applies to