Compartilhar via


ErrorResponse Construtores

Definição

Sobrecargas

ErrorResponse()

Inicializa uma nova instância da classe ErrorResponse.

ErrorResponse(IList<Error>, String, String, String, IList<Action>, IList<Action>, String, String)

Inicializa uma nova instância da classe ErrorResponse.

ErrorResponse()

Inicializa uma nova instância da classe ErrorResponse.

public ErrorResponse ();
Public Sub New ()

Aplica-se a

ErrorResponse(IList<Error>, String, String, String, IList<Action>, IList<Action>, String, String)

Inicializa uma nova instância da classe ErrorResponse.

public ErrorResponse (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Error> errors, string id = default, string readLink = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> potentialAction = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> immediateAction = default, string preferredClickthroughUrl = default, string adaptiveCard = default);
new Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.ErrorResponse : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Error> * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> * string * string -> Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.ErrorResponse
Public Sub New (errors As IList(Of Error), Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional potentialAction As IList(Of Action) = Nothing, Optional immediateAction As IList(Of Action) = Nothing, Optional preferredClickthroughUrl As String = Nothing, Optional adaptiveCard As String = Nothing)

Parâmetros

errors
IList<Error>

Uma lista de erros que descreve os motivos pelos quais a solicitação falhou.

id
String

Um identificador string.

readLink
String

A URL que retorna esse recurso.

webSearchUrl
String

A URL para o resultado da pesquisa do Bing para este item.

potentialAction
IList<Action>
immediateAction
IList<Action>
preferredClickthroughUrl
String
adaptiveCard
String

Aplica-se a