Delen via


ComputeBatchModelFactory.AutoScaleRunError Method

Definition

Initializes a new instance of AutoScaleRunError.

public static Azure.Compute.Batch.AutoScaleRunError AutoScaleRunError (string code = default, string message = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.NameValuePair> values = default);
static member AutoScaleRunError : string * string * seq<Azure.Compute.Batch.NameValuePair> -> Azure.Compute.Batch.AutoScaleRunError
Public Shared Function AutoScaleRunError (Optional code As String = Nothing, Optional message As String = Nothing, Optional values As IEnumerable(Of NameValuePair) = Nothing) As AutoScaleRunError

Parameters

code
String

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

message
String

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

values
IEnumerable<NameValuePair>

A list of additional error details related to the autoscale error.

Returns

A new AutoScaleRunError instance for mocking.

Applies to