/// <param name='operations'> /// Reference to the MyUniversalWindows10App.ISessions. /// </param> /// <param name='track'> /// Required. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <IList <Session> > GetByTrackAsync(this ISessions operations, int track, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <System.Collections.Generic.IList <MyUniversalWindows10App.Models.Session> > result = await operations.GetByTrackWithOperationResponseAsync(track, cancellationToken).ConfigureAwait(false); return(result.Body); }