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
    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, ICancelable, IDisposable
    Remarks

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

    Methods

    | Improve this Doc

    Cancel()

    Cancels and terminates an ongoing import.

    Declaration
    public void Cancel()
    | Improve this Doc

    CancelAsync()

    Cancels and terminates an ongoing import. Any data already written will be discarded.

    Declaration
    public Task CancelAsync()
    Returns
    Type Description
    Task

    Implements

    System.IDisposable
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team