Megosztás a következőn keresztül:


RankResponse Constructors

Definition

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