[]
Start to process the template
void ProcessTemplate()
Sub ProcessTemplate()
Start to process the template with global options and cancellation support.
void ProcessTemplate(CancellationToken cancellationToken)
Sub ProcessTemplate(cancellationToken As CancellationToken)
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | The token to monitor for cancellation requests. |
The caller must decide whether to accept the partially expanded template or revert to the previous state. If the caller needs to revert to the previous state, it must serialize the workbook before calling this method, then deserialize the workbook after canceling the operation.
Type | Condition |
---|---|
OperationCanceledException | Throws when the CancellationToken was canceled. |