你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ComputeBatchModelFactory.BatchJobSchedulingError 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 BatchJobSchedulingError.
public static Azure.Compute.Batch.BatchJobSchedulingError BatchJobSchedulingError (Azure.Compute.Batch.ErrorCategory category = default, string code = default, string message = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.NameValuePair> details = default);
static member BatchJobSchedulingError : Azure.Compute.Batch.ErrorCategory * string * string * seq<Azure.Compute.Batch.NameValuePair> -> Azure.Compute.Batch.BatchJobSchedulingError
Public Shared Function BatchJobSchedulingError (Optional category As ErrorCategory = Nothing, Optional code As String = Nothing, Optional message As String = Nothing, Optional details As IEnumerable(Of NameValuePair) = Nothing) As BatchJobSchedulingError
Parameters
- category
- ErrorCategory
The category of the Job scheduling error.
- code
- String
An identifier for the Job scheduling error. Codes are invariant and are intended to be consumed programmatically.
- message
- String
A message describing the Job scheduling error, intended to be suitable for display in a user interface.
- details
- IEnumerable<NameValuePair>
A list of additional error details related to the scheduling error.
Returns
A new BatchJobSchedulingError instance for mocking.