TaxonomyCategory Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TaxonomyCategory.
public TaxonomyCategory(string id, string name, Azure.AI.Projects.RiskCategory riskCategory, System.Collections.Generic.IEnumerable<Azure.AI.Projects.TaxonomySubCategory> subCategories);
new Azure.AI.Projects.TaxonomyCategory : string * string * Azure.AI.Projects.RiskCategory * seq<Azure.AI.Projects.TaxonomySubCategory> -> Azure.AI.Projects.TaxonomyCategory
Public Sub New (id As String, name As String, riskCategory As RiskCategory, subCategories As IEnumerable(Of TaxonomySubCategory))
Parameters
- id
- String
Unique identifier of the taxonomy category.
- name
- String
Name of the taxonomy category.
- riskCategory
- RiskCategory
Risk category associated with this taxonomy category.
- subCategories
- IEnumerable<TaxonomySubCategory>
List of taxonomy sub categories.
Exceptions
id, name or subCategories is null.