ProjectsRoutineOptions(RoutineAction, String, Nullable<Boolean>) Constructor

Definition

Create the options for routines.

public ProjectsRoutineOptions(Azure.AI.Projects.RoutineAction action, string description = default, bool? enabled = default);
new Azure.AI.Projects.ProjectsRoutineOptions : Azure.AI.Projects.RoutineAction * string * Nullable<bool> -> Azure.AI.Projects.ProjectsRoutineOptions
Public Sub New (action As RoutineAction, Optional description As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing)

Parameters

action
RoutineAction

The action executed when the routine fires.

description
String

A human-readable description of the routine.

enabled
Nullable<Boolean>

Whether the routine is enabled.

Exceptions

action is null.

Applies to