CancellationToken Property

Definition

Assembly Broadside.dll

Gets or sets the token that cancels the run; it is checked every 1,024 operators and at every nested run.

public CancellationToken CancellationToken { get; set; }

Returns

Remarks

A display-list build (CreateDisplayList(ContentOptions)) also hands the token to the image codecs that decode the page's images, so a long decode stops too. A cancelled run throws and leaves nothing behind that changes a later run.