System.IO.WinRTFileStream.ReadAsync C# (CSharp) Méthode

ReadAsync() public méthode

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
Résultat Task
        public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
        {
            if (!_disposed && !CanRead)
                throw Error.GetReadNotSupported();

            return _innerStream.ReadAsync(buffer, offset, count, cancellationToken);
        }