コード例 #1
0
        /// <param name='operations'>
        /// Reference to the MyUniversalWindows10App.ISessions.
        /// </param>
        /// <param name='id'>
        /// Required.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <IList <Session> > GetBySpeakerAsync(this ISessions operations, int id, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <System.Collections.Generic.IList <MyUniversalWindows10App.Models.Session> > result = await operations.GetBySpeakerWithOperationResponseAsync(id, cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }