Condividi tramite


ListManagementTerm Class

Definition

ListManagementTerm operations.

public class ListManagementTerm : Microsoft.Azure.CognitiveServices.ContentModerator.IListManagementTerm, Microsoft.Rest.IServiceOperations<Microsoft.Azure.CognitiveServices.ContentModerator.ContentModeratorClient>
type ListManagementTerm = class
    interface IServiceOperations<ContentModeratorClient>
    interface IListManagementTerm
Public Class ListManagementTerm
Implements IListManagementTerm, IServiceOperations(Of ContentModeratorClient)
Inheritance
ListManagementTerm
Implements

Constructors

ListManagementTerm(ContentModeratorClient)

Initializes a new instance of the ListManagementTerm class.

Properties

Client

Gets a reference to the ContentModeratorClient

Methods

AddTermWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

Add a term to the term list with list Id equal to list Id passed.

DeleteAllTermsWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Deletes all terms from the list with list Id equal to the list Id passed.

DeleteTermWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

Deletes a term from the list with list Id equal to the list Id passed.

GetAllTermsWithHttpMessagesAsync(String, String, Nullable<Int32>, Nullable<Int32>, Dictionary<String,List<String>>, CancellationToken)

Gets all terms from the list with list Id equal to the list Id passed.

Extension Methods

AddTerm(IListManagementTerm, String, String, String)

Add a term to the term list with list Id equal to list Id passed.

AddTermAsync(IListManagementTerm, String, String, String, CancellationToken)

Add a term to the term list with list Id equal to list Id passed.

DeleteAllTerms(IListManagementTerm, String, String)

Deletes all terms from the list with list Id equal to the list Id passed.

DeleteAllTermsAsync(IListManagementTerm, String, String, CancellationToken)

Deletes all terms from the list with list Id equal to the list Id passed.

DeleteTerm(IListManagementTerm, String, String, String)

Deletes a term from the list with list Id equal to the list Id passed.

DeleteTermAsync(IListManagementTerm, String, String, String, CancellationToken)

Deletes a term from the list with list Id equal to the list Id passed.

GetAllTerms(IListManagementTerm, String, String, Nullable<Int32>, Nullable<Int32>)

Gets all terms from the list with list Id equal to the list Id passed.

GetAllTermsAsync(IListManagementTerm, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Gets all terms from the list with list Id equal to the list Id passed.

Applies to