[]
Start to process the template with global options.
public void ProcessTemplate()
Public Sub ProcessTemplate()
Start to process the template with global options and cancellation support.
public void ProcessTemplate(CancellationToken cancellationToken)
Public 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. |