ComputeBatchModelFactory.BatchTaskFailureInfo Method
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.
Initializes a new instance of BatchTaskFailureInfo.
public static Azure.Compute.Batch.BatchTaskFailureInfo BatchTaskFailureInfo (Azure.Compute.Batch.ErrorCategory category = default, string code = default, string message = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.NameValuePair> details = default);
static member BatchTaskFailureInfo : Azure.Compute.Batch.ErrorCategory * string * string * seq<Azure.Compute.Batch.NameValuePair> -> Azure.Compute.Batch.BatchTaskFailureInfo
Public Shared Function BatchTaskFailureInfo (Optional category As ErrorCategory = Nothing, Optional code As String = Nothing, Optional message As String = Nothing, Optional details As IEnumerable(Of NameValuePair) = Nothing) As BatchTaskFailureInfo
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
- IEnumerable<NameValuePair>
A list of additional details related to the error.
Returns
A new BatchTaskFailureInfo instance for mocking.
Applies to
Azure SDK for .NET