ErrorResponse Class

Definition

The top-level response that represents a failed request.

public class ErrorResponse : Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Response
type ErrorResponse = class
    inherit Response
Public Class ErrorResponse
Inherits Response
Inheritance

Constructors

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.

Properties

AdaptiveCard (Inherited from Response)
Errors

Gets or sets a list of errors that describe the reasons why the request failed.

Id

Gets a String identifier.

(Inherited from Identifiable)
ImmediateAction (Inherited from Response)
PotentialAction (Inherited from Response)
PreferredClickthroughUrl (Inherited from Response)
ReadLink

Gets the URL that returns this resource.

(Inherited from Response)
WebSearchUrl

Gets the URL To Bing's search result for this item.

(Inherited from Response)

Methods

Validate()

Validate the object.

Applies to