ExitCodeRangeMapping Class
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.
A range of exit codes and how the Batch service should respond to exit codes within that range.
public class ExitCodeRangeMapping : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.ExitCodeRangeMapping>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.ExitCodeRangeMapping>
type ExitCodeRangeMapping = class
interface IJsonModel<ExitCodeRangeMapping>
interface IPersistableModel<ExitCodeRangeMapping>
Public Class ExitCodeRangeMapping
Implements IJsonModel(Of ExitCodeRangeMapping), IPersistableModel(Of ExitCodeRangeMapping)
- Inheritance
-
ExitCodeRangeMapping
- Implements
Constructors
ExitCodeRangeMapping(Int32, Int32, ExitOptions) |
Initializes a new instance of ExitCodeRangeMapping. |
Properties
End |
The last exit code in the range. |
ExitOptions |
How the Batch service should respond if the Task exits with an exit code in the range start to end (inclusive). |
Start |
The first exit code in the range. |
Explicit Interface Implementations
IJsonModel<ExitCodeRangeMapping>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ExitCodeRangeMapping>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ExitCodeRangeMapping>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ExitCodeRangeMapping>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ExitCodeRangeMapping>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET