Share via


PersonalizerClientExtensions.RankAsync Method

Definition

A Personalizer rank request.

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Personalizer.Models.RankResponse> RankAsync (this Microsoft.Azure.CognitiveServices.Personalizer.IPersonalizerClient operations, Microsoft.Azure.CognitiveServices.Personalizer.Models.RankRequest rankRequest, System.Threading.CancellationToken cancellationToken = default);
static member RankAsync : Microsoft.Azure.CognitiveServices.Personalizer.IPersonalizerClient * Microsoft.Azure.CognitiveServices.Personalizer.Models.RankRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Personalizer.Models.RankResponse>
<Extension()>
Public Function RankAsync (operations As IPersonalizerClient, rankRequest As RankRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RankResponse)

Parameters

operations
IPersonalizerClient

The operations group for this extension method.

rankRequest
RankRequest

A Personalizer request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to