RankResponse 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
RankResponse() |
Initializes a new instance of the RankResponse class. |
RankResponse(IList<RankedAction>, String, String) |
Initializes a new instance of the RankResponse class. |
RankResponse()
Initializes a new instance of the RankResponse class.
public RankResponse ();
Public Sub New ()
Applies to
RankResponse(IList<RankedAction>, String, String)
Initializes a new instance of the RankResponse class.
public RankResponse (System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Personalizer.Models.RankedAction> ranking = default, string eventId = default, string rewardActionId = default);
new Microsoft.Azure.CognitiveServices.Personalizer.Models.RankResponse : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Personalizer.Models.RankedAction> * string * string -> Microsoft.Azure.CognitiveServices.Personalizer.Models.RankResponse
Public Sub New (Optional ranking As IList(Of RankedAction) = Nothing, Optional eventId As String = Nothing, Optional rewardActionId As String = Nothing)
Parameters
- ranking
- IList<RankedAction>
The calculated ranking for the current request.
- eventId
- String
The eventId for the round trip from request to response.
- rewardActionId
- String
The action chosen by the Personalizer service. This is the action for which to report the reward. This might not be the first found in 'ranking' if an action in the request in first position was part of the excluded ids.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應