Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.IO
  3. TextReader
  4. ReadLineAsync(CancellationToken)
  • TextReader
    • Null
    • TextReader()
    • Close()
    • Dispose()
    • Dispose(Boolean)
    • Peek()
    • Read()
    • Read(Char[], Int32, Int32)
    • Read(Span<Char>)
    • ReadAsync(Char[], Int32, Int32)
    • ReadAsync(Memory<Char>, CancellationToken)
    • ReadBlock(Char[], Int32, Int32)
    • ReadBlock(Span<Char>)
    • ReadBlockAsync(Char[], Int32, Int32)
    • ReadBlockAsync(Memory<Char>, CancellationToken)
    • ReadLine()
    • ReadLineAsync()
    • ReadLineAsync(CancellationToken)
    • ReadToEnd()
    • ReadToEndAsync()
    • ReadToEndAsync(CancellationToken)
    • Synchronized(TextReader)
    • ReadAsync(TextReader, Char[], Int32, Int32)
    • ReadAsync(TextReader, Char[], Int32, Int32)
    • ReadBlockAsync(TextReader, Char[], Int32, Int32)
    • ReadBlockAsync(TextReader, Char[], Int32, Int32)
    • ReadLineAsync(TextReader)
    • ReadLineAsync(TextReader)
    • ReadToEndAsync(TextReader)
    • ReadToEndAsync(TextReader)
net7.0
namespace System.IO
{
    public abstract class TextReader : MarshalByRefObject, IDisposable
    {
        public virtual ValueTask<string?> ReadLineAsync(CancellationToken cancellationToken);
    }
}
nuget.org
0.4 %
Reference this API
Design Reviews
  • dotnet/runtime#20824 4 years ago (Approved)
.NET
7.08.09.010.011.0
Information specific to net7.0
Assembly

System.Runtime , Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

10/29/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙