TaskFailureInformation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.