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

Properties

Timeout

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

public int Timeout { get; set; }

Property Value

int

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