Exemple #1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='text'>
 /// A text stream.
 /// </param>
 /// <param name='contentType'>
 /// The content type of the image.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BAsync(this IText operations, Stream text, string contentType, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BWithHttpMessagesAsync(text, contentType, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }