public static void GetThumbnail(this IComputerVisionAPIV10 operations, double width, double height, bool? smartCropping = true, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
{
System.Threading.Tasks.Task.Factory.StartNew(s => ((IComputerVisionAPIV10)s).GetThumbnailAsync(width, height, smartCropping, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
}