Class NpgsqlCopyTextReader
Reader for a text export, initiated by BeginTextExport(string).
Inheritance
object
NpgsqlCopyTextReader
Implements
IDisposable
IAsyncDisposable
Namespace: Npgsql
Assembly: Npgsql.dll
Syntax
public sealed class NpgsqlCopyTextReader : StreamReader, IDisposable, IAsyncDisposable
Remarks
Methods
| Improve this Doc View SourceCancel()
Cancels and terminates an ongoing export.
Declaration
public void Cancel()
Remarks
| Improve this Doc View SourceCancelAsync()
Asynchronously cancels and terminates an ongoing export.
Declaration
public Task CancelAsync()
Returns
Type | Description |
---|---|
Task |
Remarks
| Improve this Doc View SourceDisposeAsync()
Declaration
public ValueTask DisposeAsync()
Returns
Type | Description |
---|---|
ValueTask |
Remarks
Implements
IDisposable
IAsyncDisposable