Search Results for

    Show / Hide Table of Contents

    Class NpgsqlCopyTextReader

    Reader for a text export, initiated by BeginTextExport(String).

    Inheritance
    Object
    MarshalByRefObject
    TextReader
    StreamReader
    NpgsqlCopyTextReader
    Implements
    IDisposable
    IAsyncDisposable
    Inherited Members
    StreamReader.Null
    StreamReader.Close()
    StreamReader.DiscardBufferedData()
    StreamReader.Dispose(Boolean)
    StreamReader.Peek()
    StreamReader.Read()
    StreamReader.Read(Char[], Int32, Int32)
    StreamReader.Read(Span<Char>)
    StreamReader.ReadAsync(Char[], Int32, Int32)
    StreamReader.ReadAsync(Memory<Char>, CancellationToken)
    StreamReader.ReadBlock(Char[], Int32, Int32)
    StreamReader.ReadBlock(Span<Char>)
    StreamReader.ReadBlockAsync(Char[], Int32, Int32)
    StreamReader.ReadBlockAsync(Memory<Char>, CancellationToken)
    StreamReader.ReadLine()
    StreamReader.ReadLineAsync()
    StreamReader.ReadToEnd()
    StreamReader.ReadToEndAsync()
    StreamReader.BaseStream
    StreamReader.CurrentEncoding
    StreamReader.EndOfStream
    TextReader.Dispose()
    TextReader.Synchronized(TextReader)
    MarshalByRefObject.GetLifetimeService()
    MarshalByRefObject.InitializeLifetimeService()
    MarshalByRefObject.MemberwiseClone(Boolean)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql
    Assembly: Npgsql.dll
    Syntax
    public sealed class NpgsqlCopyTextReader : StreamReader, IDisposable, IAsyncDisposable
    Remarks

    See https://www.postgresql.org/docs/current/static/sql-copy.html.

    Methods

    Cancel()

    Cancels and terminates an ongoing export.

    Declaration
    public void Cancel()

    CancelAsync()

    Asynchronously cancels and terminates an ongoing export.

    Declaration
    public Task CancelAsync()
    Returns
    Type Description
    Task

    DisposeAsync()

    Declaration
    public ValueTask DisposeAsync()
    Returns
    Type Description
    ValueTask

    Implements

    System.IDisposable
    System.IAsyncDisposable
    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team