TrainingStatus Constructors

Definition

Overloads

TrainingStatus()

Initializes a new instance of the TrainingStatus class.

TrainingStatus(TrainingStatusType, DateTime, Nullable<DateTime>, Nullable<DateTime>, String)

Initializes a new instance of the TrainingStatus class.

TrainingStatus()

Source:
TrainingStatus.cs

Initializes a new instance of the TrainingStatus class.

public TrainingStatus ();
Public Sub New ()

Applies to

TrainingStatus(TrainingStatusType, DateTime, Nullable<DateTime>, Nullable<DateTime>, String)

Source:
TrainingStatus.cs

Initializes a new instance of the TrainingStatus class.

public TrainingStatus (Microsoft.Azure.CognitiveServices.Vision.Face.Models.TrainingStatusType status, DateTime created, DateTime? lastAction = default, DateTime? lastSuccessfulTraining = default, string message = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.TrainingStatus : Microsoft.Azure.CognitiveServices.Vision.Face.Models.TrainingStatusType * DateTime * Nullable<DateTime> * Nullable<DateTime> * string -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.TrainingStatus
Public Sub New (status As TrainingStatusType, created As DateTime, Optional lastAction As Nullable(Of DateTime) = Nothing, Optional lastSuccessfulTraining As Nullable(Of DateTime) = Nothing, Optional message As String = Nothing)

Parameters

status
TrainingStatusType

Training status: notstarted, running, succeeded, failed. If the training process is waiting to perform, the status is notstarted. If the training is ongoing, the status is running. Status succeed means this person group or large person group is ready for Face - Identify, or this large face list is ready for Face - Find Similar. Status failed is often caused by no person or no persisted face exist in the person group or large person group, or no persisted face exist in the large face list. Possible values include: 'nonstarted', 'running', 'succeeded', 'failed'

created
DateTime

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

lastAction
Nullable<DateTime>

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.

lastSuccessfulTraining
Nullable<DateTime>

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).

Applies to