System.IO.Compression.DeflateManagedStream.WriteAsyncCore C# (CSharp) Méthode

WriteAsyncCore() private méthode

private WriteAsyncCore ( byte array, int offset, int count, CancellationToken cancellationToken ) : Task
array byte
offset int
count int
cancellationToken System.Threading.CancellationToken
Résultat Task
        private async Task WriteAsyncCore(byte[] array, int offset, int count, CancellationToken cancellationToken)
        {
            Interlocked.Increment(ref _asyncOperations);
            try
            {
                await base.WriteAsync(array, offset, count, cancellationToken).ConfigureAwait(false);
            }
            finally
            {
                Interlocked.Decrement(ref _asyncOperations);
            }
        }
    }