/// <summary> /// Retrieves the status of the recommendation computation or generation /// process. Invoke this API after calling the generation recommendation. The /// URI of this API is returned in the Location field of the response header. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='operationId'> /// The operation ID, which can be found from the Location field in the /// generate recommendation response header. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task GetGenerateStatusAsync(this IRecommendationsOperations operations, System.Guid operationId, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.GetGenerateStatusWithHttpMessagesAsync(operationId, null, cancellationToken).ConfigureAwait(false)).Dispose(); }