<PackageReference Include="Azure.Core" Version="1.44.1" />

PageableOperation<T>

public abstract class PageableOperation<T> : Operation<AsyncPageable<T>>
Represents a pageable long-running operation that exposes the results in either synchronous or asynchronous format.
using System.ComponentModel; using System.Runtime.CompilerServices; using System.Threading; namespace Azure { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(new byte[] { 0, 1, 1 })] public abstract class PageableOperation<T> : Operation<AsyncPageable<T>> { [EditorBrowsable(EditorBrowsableState.Never)] public override AsyncPageable<T> Value { get { return GetValuesAsync(default(CancellationToken)); } } public abstract AsyncPageable<T> GetValuesAsync(CancellationToken cancellationToken = default(CancellationToken)); public abstract Pageable<T> GetValues(CancellationToken cancellationToken = default(CancellationToken)); } }