AIVisionFaceModelFactory.FaceTrainingResult Method

Definition

Initializes a new instance of FaceTrainingResult.

public static Azure.AI.Vision.Face.FaceTrainingResult FaceTrainingResult (Azure.AI.Vision.Face.FaceOperationStatus status = default, DateTimeOffset createdDateTime = default, DateTimeOffset lastActionDateTime = default, DateTimeOffset lastSuccessfulTrainingDateTime = default, string message = default);
static member FaceTrainingResult : Azure.AI.Vision.Face.FaceOperationStatus * DateTimeOffset * DateTimeOffset * DateTimeOffset * string -> Azure.AI.Vision.Face.FaceTrainingResult
Public Shared Function FaceTrainingResult (Optional status As FaceOperationStatus = Nothing, Optional createdDateTime As DateTimeOffset = Nothing, Optional lastActionDateTime As DateTimeOffset = Nothing, Optional lastSuccessfulTrainingDateTime As DateTimeOffset = Nothing, Optional message As String = Nothing) As FaceTrainingResult

Parameters

status
FaceOperationStatus

Training status of the container.

createdDateTime
DateTimeOffset

A combined UTC date and time string that describes the created time of the person group, large person group or large face list.

lastActionDateTime
DateTimeOffset

A combined UTC date and time string that describes the last modify time of the person group, large person group or large face list, could be null value when the group is not successfully trained.

lastSuccessfulTrainingDateTime
DateTimeOffset

A combined UTC date and time string that describes the last successful training time of the person group, large person group or large face list.

message
String

Show failure message when training failed (omitted when training succeed).

Returns

A new FaceTrainingResult instance for mocking.

Applies to