Udostępnij za pośrednictwem


TranslationStatusResult Class

Definition

Translation job status response.

public class TranslationStatusResult : System.ClientModel.Primitives.IJsonModel<Azure.AI.Translation.Document.TranslationStatusResult>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Translation.Document.TranslationStatusResult>
type TranslationStatusResult = class
    interface IJsonModel<TranslationStatusResult>
    interface IPersistableModel<TranslationStatusResult>
Public Class TranslationStatusResult
Implements IJsonModel(Of TranslationStatusResult), IPersistableModel(Of TranslationStatusResult)
Inheritance
TranslationStatusResult
Implements

Properties

CreatedOn

The date time when the translation operation was created.

DocumentsCanceled

Number of documents canceled.

DocumentsFailed

Number of documents failed to translate.

DocumentsInProgress

Number of documents in progress.

DocumentsNotStarted

Number of documents in queue for translation.

DocumentsSucceeded

Number of documents translated successfully.

DocumentsTotal

Total number of expected translated documents.

Error

This contains an outer error with the error code, message, details, target and an inner error with more descriptive details.

Id

Id of the translation operation.

LastModified

The date time when the translation operation's status was last updated.

Status

List of possible statuses for job or document.

TotalCharactersCharged

Total characters charged by the Document Translation service

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TranslationStatusResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TranslationStatusResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TranslationStatusResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TranslationStatusResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TranslationStatusResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to