ErrorResponse Class

Definition

The top-level response that represents a failed request.

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

Constructors

ErrorResponse()

Initializes a new instance of the ErrorResponse class.

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

Initializes a new instance of the ErrorResponse class.

Properties

ContractualRules

Gets a list of rules that you must adhere to if you display the item.

(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)
WebSearchUrl

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

(Inherited from Response)

Methods

Validate()

Validate the object.

Applies to