PersistedFace Constructors

Definition

Overloads

PersistedFace()

Initializes a new instance of the PersistedFace class.

PersistedFace(Guid, String)

Initializes a new instance of the PersistedFace class.

PersistedFace()

Source:
PersistedFace.cs

Initializes a new instance of the PersistedFace class.

public PersistedFace ();
Public Sub New ()

Applies to

PersistedFace(Guid, String)

Source:
PersistedFace.cs

Initializes a new instance of the PersistedFace class.

public PersistedFace (Guid persistedFaceId, string userData = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace : Guid * string -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace
Public Sub New (persistedFaceId As Guid, Optional userData As String = Nothing)

Parameters

persistedFaceId
Guid

The persistedFaceId of the target face, which is persisted and will not expire. Different from faceId created by Face - Detect and will expire in 24 hours after the detection call.

userData
String

User-provided data attached to the face. The size limit is 1KB.

Applies to