你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BatchTaskIdRange Class

Definition

The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents Tasks '9', '10', '11' and '12'.

public class BatchTaskIdRange : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.BatchTaskIdRange>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.BatchTaskIdRange>
type BatchTaskIdRange = class
    interface IJsonModel<BatchTaskIdRange>
    interface IPersistableModel<BatchTaskIdRange>
Public Class BatchTaskIdRange
Implements IJsonModel(Of BatchTaskIdRange), IPersistableModel(Of BatchTaskIdRange)
Inheritance
BatchTaskIdRange
Implements

Constructors

BatchTaskIdRange(Int32, Int32)

Initializes a new instance of BatchTaskIdRange.

Properties

End

The last Task ID in the range.

Start

The first Task ID in the range.

Explicit Interface Implementations

IJsonModel<BatchTaskIdRange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BatchTaskIdRange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchTaskIdRange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchTaskIdRange>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BatchTaskIdRange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to