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()

Initializes a new instance of the TaskFailureInformation class.

public TaskFailureInformation ();
Public Sub New ()

Applies to

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

Initializes a new instance of the TaskFailureInformation class.

public TaskFailureInformation (Microsoft.Azure.Batch.Protocol.Models.ErrorCategory category, string code = null, string message = null, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.NameValuePair> details = null);
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 = null, Optional message As String = null, Optional details As IList(Of NameValuePair) = null)

Parameters

category
ErrorCategory

The category of the task error.

code
System.String

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

message
System.String

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

details
System.Collections.Generic.IList<NameValuePair>

A list of additional details related to the error.

Applies to