public static async Task <object> GetSmsFromQueueAsync(this ISMS operations, string id, string entryId, string subscriptionId, string messageId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetSmsFromQueueWithHttpMessagesAsync(id, entryId, subscriptionId, messageId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }