Share via


ErrorResponse Constructors

Definition

Overloads

ErrorResponse()

Initializes a new instance of the ErrorResponse class.

ErrorResponse(IList<Error>, 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)

Initializes a new instance of the ErrorResponse class.

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

Parameters

errors
IList<Error>

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

id
String

A String identifier.

webSearchUrl
String

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

Applies to