BatchTaskAddResult 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.
Result for a single Task added as part of an add Task collection operation.
public class BatchTaskAddResult : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.BatchTaskAddResult>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.BatchTaskAddResult>
type BatchTaskAddResult = class
interface IJsonModel<BatchTaskAddResult>
interface IPersistableModel<BatchTaskAddResult>
Public Class BatchTaskAddResult
Implements IJsonModel(Of BatchTaskAddResult), IPersistableModel(Of BatchTaskAddResult)
- Inheritance
-
BatchTaskAddResult
- Implements
Properties
Error |
The error encountered while attempting to add the Task. |
ETag |
The ETag of the Task, if the Task was successfully added. You can use this to detect whether the Task has changed between requests. In particular, you can be pass the ETag with an Update Task request to specify that your changes should take effect only if nobody else has modified the Job in the meantime. |
LastModified |
The last modified time of the Task. |
Location |
The URL of the Task, if the Task was successfully added. |
Status |
The status of the add Task request. |
TaskId |
The ID of the Task for which this is the result. |
Explicit Interface Implementations
IJsonModel<BatchTaskAddResult>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<BatchTaskAddResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<BatchTaskAddResult>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<BatchTaskAddResult>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<BatchTaskAddResult>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET