Table of Contents

Class NpgsqlCopyTextReader

Namespace
Npgsql
Assembly
Npgsql.dll

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

public sealed class NpgsqlCopyTextReader : StreamReader, IDisposable, IAsyncDisposable
Inheritance
NpgsqlCopyTextReader
Implements
Inherited Members

Remarks

Properties

Timeout

Gets or sets a value, in milliseconds, that determines how long the text reader will attempt to read before timing out.

public int Timeout { get; set; }

Property Value

int

Methods

Cancel()

Cancels and terminates an ongoing export.

public void Cancel()

CancelAsync()

Asynchronously cancels and terminates an ongoing export.

public Task CancelAsync()

Returns

Task

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public ValueTask DisposeAsync()

Returns

ValueTask

A task that represents the asynchronous dispose operation.