Partilhar via


AddFaceResult Class

Definition

Response body for adding face.

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

Properties

PersistedFaceId

Persisted Face ID of the added face, which is persisted and will not expire. Different from faceId which is created in "Detect" and will expire in 24 hours after the detection call.

Explicit Interface Implementations

IJsonModel<AddFaceResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AddFaceResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AddFaceResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AddFaceResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AddFaceResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to