Share via


IForeachWriter.Close(Exception) Method

Definition

Called when stopping to process one partition of new data in the executor side. This is guaranteed to be called either Open(Int64, Int64) returns true or false. However, Close(Exception) won't be called in the following cases:

public void Close (Exception errorOrNull);
abstract member Close : Exception -> unit
Public Sub Close (errorOrNull As Exception)

Parameters

errorOrNull
Exception

The Exception thrown during processing or null if there was no error.

Applies to