你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Response 构造函数

定义

重载

Response()

初始化 Response 类的新实例。

Response(String, String, String, IList<Action>, IList<Action>, String, String)

初始化 Response 类的新实例。

Response()

初始化 Response 类的新实例。

public Response ();
Public Sub New ()

适用于

Response(String, String, String, IList<Action>, IList<Action>, String, String)

初始化 Response 类的新实例。

public Response (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.Response : 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.Response
Public Sub New (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)

参数

id
String

字符串标识符。

readLink
String

返回此资源的 URL。

webSearchUrl
String

指向此项目的必应搜索结果的 URL。

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

适用于