/// <summary>
        /// GetChangesAsync.
        /// </summary>
        /// <returns><see cref="BlobChangeFeedAsyncPageable"/>.</returns>
#pragma warning disable AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        public virtual AsyncPageable <BlobChangeFeedEvent> GetChangesAsync()
#pragma warning restore AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        {
            BlobChangeFeedAsyncPageable asyncPagable = new BlobChangeFeedAsyncPageable(_blobServiceClient);

            return(asyncPagable);
        }
예제 #2
0
        /// <summary>
        /// GetChangesAsync.
        /// </summary>
        /// <param name="continuationToken"></param>
        /// <returns><see cref="BlobChangeFeedAsyncPageable"/>.</returns>
#pragma warning disable AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        public virtual AsyncPageable <BlobChangeFeedEvent> GetChangesAsync(string continuationToken)
#pragma warning restore AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        {
            BlobChangeFeedAsyncPageable asyncPagable = new BlobChangeFeedAsyncPageable(
                _blobServiceClient,
                _changeFeedOptions?.MaximumTransferSize,
                continuationToken);

            return(asyncPagable);
        }
예제 #3
0
        /// <summary>
        /// GetChangesAsync.
        /// </summary>
        /// <param name="start"></param>
        /// <param name="end"></param>
        /// <returns><see cref="BlobChangeFeedAsyncPageable"/>.</returns>
#pragma warning disable AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        public virtual AsyncPageable <BlobChangeFeedEvent> GetChangesAsync(
            DateTimeOffset?start = default,
            DateTimeOffset?end   = default)
#pragma warning restore AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        {
            BlobChangeFeedAsyncPageable asyncPagable = new BlobChangeFeedAsyncPageable(
                _blobServiceClient,
                _changeFeedOptions?.MaximumTransferSize,
                start,
                end);

            return(asyncPagable);
        }