/// <summary> /// Sends a single SMS message. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// Consumer subscription Id /// </param> /// <param name='request'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> SendSmsAsync(this ISmsClient operations, System.Guid subscriptionId, SendSmsRequest request, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.SendSmsWithHttpMessagesAsync(subscriptionId, request, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }