Partilhar via


IListManagementTerm.GetAllTermsWithHttpMessagesAsync Método

Definição

Obtém todos os termos da lista com a ID da lista igual à ID da lista passada.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.ContentModerator.Models.Terms>> GetAllTermsWithHttpMessagesAsync (string listId, string language, int? offset = default, int? limit = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllTermsWithHttpMessagesAsync : string * string * Nullable<int> * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.ContentModerator.Models.Terms>>
Public Function GetAllTermsWithHttpMessagesAsync (listId As String, language As String, Optional offset As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Terms))

Parâmetros

listId
String

ID da lista de imagens.

language
String

Idioma dos termos.

offset
Nullable<Int32>

O índice de início da paginação.

limit
Nullable<Int32>

O limite máximo.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerada quando a operação retornou um código de status inválido

Gerada quando não é possível desserializar a resposta

Gerado quando um parâmetro necessário é nulo

Aplica-se a