DocumentWarning Class

Definition

Contains the warnings object with warnings encountered for the processed document.

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

Properties

Code

Warning code.

Message

Warning message.

TargetRef

A JSON pointer reference indicating the target object.

Explicit Interface Implementations

IJsonModel<DocumentWarning>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DocumentWarning>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentWarning>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentWarning>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DocumentWarning>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to