ExitConditions.DefaultProperty Property
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.
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
Azure SDK for .NET