ApplyLabelAction(String, Label, List<String>) Constructor

Definition

Creates a new ApplyLabelAction. This constructor is only public to allow using this class in code testing

public ApplyLabelAction (string id, Microsoft.InformationProtection.Label label, System.Collections.Generic.List<string> classificationIds);
new Microsoft.InformationProtection.Policy.Actions.ApplyLabelAction : string * Microsoft.InformationProtection.Label * System.Collections.Generic.List<string> -> Microsoft.InformationProtection.Policy.Actions.ApplyLabelAction
Public Sub New (id As String, label As Label, classificationIds As List(Of String))

Parameters

id
String

The id of the action

label
Label

Label to Apply automatically

classificationIds
List<String>

List of matched classification IDs

Applies to