Condividi tramite


ExitConditions.DefaultProperty Property

Definition

Gets or sets how the Batch service should respond if the Task fails with an exit condition not covered by any of the other properties.

[Newtonsoft.Json.JsonProperty(PropertyName="default")]
public Microsoft.Azure.Batch.Protocol.Models.ExitOptions DefaultProperty { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="default")>]
member this.DefaultProperty : Microsoft.Azure.Batch.Protocol.Models.ExitOptions with get, set
Public Property DefaultProperty As ExitOptions

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This value is used if the Task exits with any nonzero exit code not listed in the exitCodes or exitCodeRanges collection, with a pre-processing error if the preProcessingError property is not present, or with a file upload error if the fileUploadError property is not present. If you want non-default behavior on exit code 0, you must list it explicitly using the exitCodes or exitCodeRanges collection.

Applies to