Npgsql Api Docs

NpgsqlCopyIn.Cancel Method 

Withdraws an already started copy operation. The operation will fail with given error message. Will do nothing if current operation is not active.

[Visual Basic]
Public Sub Cancel( _
   ByVal message As String _
)
[C#]
public void Cancel(
   string message
);

See Also

NpgsqlCopyIn Class | Npgsql Namespace