示例#1
0
        public async ValueTask DisposeAsync()
        {
            await _serviceClient.DisposeAsync().ConfigureAwait(false);

            await _clientFactory.DisposeAsync().ConfigureAwait(false);
        }
示例#2
0
        async Task IAsyncDisposable.DisposeAsync(CancellationToken cancellationToken)
        {
            await _serviceClient.DisposeAsync(cancellationToken).ConfigureAwait(false);

            await _clientFactory.DisposeAsync(cancellationToken).ConfigureAwait(false);
        }