/// <summary> /// Retrieve message delivery details by message Id /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// Consumer subscription Id /// </param> /// <param name='smsMessageId'> /// A unique identifier for the SMS message /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <GetSmsResponse> GetSmsAsync(this ISmsClient operations, System.Guid subscriptionId, System.Guid smsMessageId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetSmsWithHttpMessagesAsync(subscriptionId, smsMessageId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }