Share via


ErrorResponse Constructors

Definition

Overloads

ErrorResponse()

Initializes a new instance of the ErrorResponse class.

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

Initializes a new instance of the ErrorResponse class.

ErrorResponse()

Initializes a new instance of the ErrorResponse class.

public ErrorResponse ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ErrorResponse class.

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)

Parameters

errors
IList<Error>

A list of errors that describe the reasons why the request failed.

id
String

A String identifier.

readLink
String

The URL that returns this resource.

webSearchUrl
String

The URL To Bing's search result for this item.

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

Applies to