Share via


ReviewsExtensions.GetReviewAsync Method

Definition

Returns review details for the review Id passed.

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.ContentModerator.Models.Review> GetReviewAsync (this Microsoft.Azure.CognitiveServices.ContentModerator.IReviews operations, string teamName, string reviewId, System.Threading.CancellationToken cancellationToken = default);
static member GetReviewAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IReviews * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.ContentModerator.Models.Review>
<Extension()>
Public Function GetReviewAsync (operations As IReviews, teamName As String, reviewId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Review)

Parameters

operations
IReviews

The operations group for this extension method.

teamName
String

Your Team Name.

reviewId
String

Id of the review.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to