ErrorResponse Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ErrorResponse() |
Initializes a new instance of the ErrorResponse class. |
ErrorResponse(IList<Error>, String, IList<ContractualRulesContractualRule>, 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, IList<ContractualRulesContractualRule>, String)
Initializes a new instance of the ErrorResponse class.
public ErrorResponse (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Error> errors, string id = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> contractualRules = default, string webSearchUrl = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ErrorResponse : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.Error> * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesContractualRule> * string -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ErrorResponse
Public Sub New (errors As IList(Of Error), Optional id As String = Nothing, Optional contractualRules As IList(Of ContractualRulesContractualRule) = Nothing, Optional webSearchUrl As String = Nothing)
Parameters
- id
- String
A String identifier.
- contractualRules
- IList<ContractualRulesContractualRule>
A list of rules that you must adhere to if you display the item.
- webSearchUrl
- String
The URL To Bing's search result for this item.
Applies to
Azure SDK for .NET