Classification Constructors

Definition

Overloads

Classification()

Initializes a new instance of the Classification class.

Classification(ClassificationCategory1, ClassificationCategory2, ClassificationCategory3, Nullable<Boolean>)

Initializes a new instance of the Classification class.

Classification()

Initializes a new instance of the Classification class.

public Classification ();
Public Sub New ()

Applies to

Classification(ClassificationCategory1, ClassificationCategory2, ClassificationCategory3, Nullable<Boolean>)

Initializes a new instance of the Classification class.

public Classification (Microsoft.Azure.CognitiveServices.ContentModerator.Models.ClassificationCategory1 category1 = default, Microsoft.Azure.CognitiveServices.ContentModerator.Models.ClassificationCategory2 category2 = default, Microsoft.Azure.CognitiveServices.ContentModerator.Models.ClassificationCategory3 category3 = default, bool? reviewRecommended = default);
new Microsoft.Azure.CognitiveServices.ContentModerator.Models.Classification : Microsoft.Azure.CognitiveServices.ContentModerator.Models.ClassificationCategory1 * Microsoft.Azure.CognitiveServices.ContentModerator.Models.ClassificationCategory2 * Microsoft.Azure.CognitiveServices.ContentModerator.Models.ClassificationCategory3 * Nullable<bool> -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.Classification
Public Sub New (Optional category1 As ClassificationCategory1 = Nothing, Optional category2 As ClassificationCategory2 = Nothing, Optional category3 As ClassificationCategory3 = Nothing, Optional reviewRecommended As Nullable(Of Boolean) = Nothing)

Parameters

category1
ClassificationCategory1

The category1 score details of the text. <a href="https://aka.ms/textClassifyCategories">Click here</a> for more details on category classification.

category2
ClassificationCategory2

The category2 score details of the text. <a href="https://aka.ms/textClassifyCategories">Click here</a> for more details on category classification.

category3
ClassificationCategory3

The category3 score details of the text. <a href="https://aka.ms/textClassifyCategories">Click here</a> for more details on category classification.

reviewRecommended
System.Nullable<System.Boolean>

The review recommended flag.

Applies to