次の方法で共有


BatchTaskDependencies Class

Definition

Specifies any dependencies of a Task. Any Task that is explicitly specified or within a dependency range must complete before the dependant Task will be scheduled.

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

Constructors

BatchTaskDependencies()

Initializes a new instance of BatchTaskDependencies.

Properties

TaskIdRanges

The list of Task ID ranges that this Task depends on. All Tasks in all ranges must complete successfully before the dependent Task can be scheduled.

TaskIds

The list of Task IDs that this Task depends on. All Tasks in this list must complete successfully before the dependent Task can be scheduled. The taskIds collection is limited to 64000 characters total (i.e. the combined length of all Task IDs). If the taskIds collection exceeds the maximum length, the Add Task request fails with error code TaskDependencyListTooLong. In this case consider using Task ID ranges instead.

Explicit Interface Implementations

IJsonModel<BatchTaskDependencies>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchTaskDependencies>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchTaskDependencies>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchTaskDependencies>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchTaskDependencies>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to