Class NpgsqlCopyTextWriter
Writer for a text import, initiated by BeginTextImport(string).
Inheritance
object
NpgsqlCopyTextWriter
Implements
IDisposable
IAsyncDisposable
Namespace: Npgsql
Assembly: Npgsql.dll
Syntax
public sealed class NpgsqlCopyTextWriter : StreamWriter, IDisposable, IAsyncDisposable
Remarks
Methods
| Improve this Doc View SourceCancel()
Cancels and terminates an ongoing import. Any data already written will be discarded.
Declaration
public void Cancel()
Remarks
| Improve this Doc View SourceCancelAsync()
Cancels and terminates an ongoing import. Any data already written will be discarded.
Declaration
public Task CancelAsync()
Returns
Type | Description |
---|---|
Task |
Remarks
Implements
IDisposable
IAsyncDisposable