Table of Contents

Class NpgsqlCopyTextWriter

Namespace
Npgsql
Assembly
Npgsql.dll

Writer for a text import, initiated by BeginTextImport(string).

public sealed class NpgsqlCopyTextWriter : StreamWriter, IDisposable, IAsyncDisposable
Inheritance
NpgsqlCopyTextWriter
Implements
Inherited Members

Remarks

Methods

Cancel()

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

public void Cancel()

CancelAsync()

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

public Task CancelAsync()

Returns

Task