/// <summary> /// A long-running paging operation that includes a nextLink that has 10 pages /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> /// <param name='clientRequestId'> /// </param> /// <param name='pagingGetMultiplePagesLROOptions'> /// Additional parameters for the operation /// </param> public static IPage <Product> BeginGetMultiplePagesLRONext(this IPagingOperations operations, string nextPageLink, string clientRequestId = default(string), PagingGetMultiplePagesLROOptionsInner pagingGetMultiplePagesLROOptions = default(PagingGetMultiplePagesLROOptionsInner)) { return(operations.BeginGetMultiplePagesLRONextAsync(nextPageLink, clientRequestId, pagingGetMultiplePagesLROOptions).GetAwaiter().GetResult()); }
/// <summary> /// A long-running paging operation that includes a nextLink that has 10 pages /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> /// <param name='clientRequestId'> /// </param> /// <param name='pagingGetMultiplePagesLROOptions'> /// Additional parameters for the operation /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <Product> > BeginGetMultiplePagesLRONextAsync(this IPagingOperations operations, string nextPageLink, string clientRequestId = default(string), PagingGetMultiplePagesLROOptionsInner pagingGetMultiplePagesLROOptions = default(PagingGetMultiplePagesLROOptionsInner), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginGetMultiplePagesLRONextWithHttpMessagesAsync(nextPageLink, clientRequestId, pagingGetMultiplePagesLROOptions, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// A long-running paging operation that includes a nextLink that has 10 pages /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='clientRequestId'> /// </param> /// <param name='pagingGetMultiplePagesLROOptions'> /// Additional parameters for the operation /// </param> public static IPage <Product> GetMultiplePagesLRO(this IPagingOperations operations, string clientRequestId = default(string), PagingGetMultiplePagesLROOptionsInner pagingGetMultiplePagesLROOptions = default(PagingGetMultiplePagesLROOptionsInner)) { return(operations.GetMultiplePagesLROAsync(clientRequestId, pagingGetMultiplePagesLROOptions).GetAwaiter().GetResult()); }