/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='image'> /// An image stream. /// </param> /// <param name='imageContentType'> /// The content type of the image. Possible values include: 'image/gif', /// 'image/jpeg', 'image/png', 'image/bmp', 'image/tiff' /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task AAsync(this IImage operations, Stream image, ContentType?imageContentType = default(ContentType?), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.AWithHttpMessagesAsync(image, imageContentType, null, cancellationToken).ConfigureAwait(false)).Dispose(); }