Cancel Export job

Good day,
I want to cancel the current job if a cancellation is requested. I am calling LlPrintAbort(), but the job still continues and no LL_User_Aborted_Exception is thrown.

cancellationToken.Register(() =>
{
	LL.Core.LlPrintAbort();
});
LL.Export(exportConfiguration);

My fault, I was requesting the cancellation before the job started.

1 Like