Dela via


AIVisionFaceModelFactory.AddFaceResult(Guid) Method

Definition

Initializes a new instance of AddFaceResult.

public static Azure.AI.Vision.Face.AddFaceResult AddFaceResult (Guid persistedFaceId = default);
static member AddFaceResult : Guid -> Azure.AI.Vision.Face.AddFaceResult
Public Shared Function AddFaceResult (Optional persistedFaceId As Guid = Nothing) As AddFaceResult

Parameters

persistedFaceId
Guid

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.

Returns

A new AddFaceResult instance for mocking.

Applies to