Share via


EvaluationSchedule Constructor

Definition

Initializes a new instance of EvaluationSchedule.

public EvaluationSchedule (Azure.AI.Projects.ApplicationInsightsConfiguration data, System.Collections.Generic.IDictionary<string,Azure.AI.Projects.EvaluatorConfiguration> evaluators, Azure.AI.Projects.Trigger trigger);
new Azure.AI.Projects.EvaluationSchedule : Azure.AI.Projects.ApplicationInsightsConfiguration * System.Collections.Generic.IDictionary<string, Azure.AI.Projects.EvaluatorConfiguration> * Azure.AI.Projects.Trigger -> Azure.AI.Projects.EvaluationSchedule
Public Sub New (data As ApplicationInsightsConfiguration, evaluators As IDictionary(Of String, EvaluatorConfiguration), trigger As Trigger)

Parameters

data
ApplicationInsightsConfiguration

Data for evaluation.

evaluators
IDictionary<String,EvaluatorConfiguration>

Evaluators to be used for the evaluation.

trigger
Trigger

Trigger for the evaluation. Please note Trigger is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CronTrigger and RecurrenceTrigger.

Exceptions

data, evaluators or trigger is null.

Applies to