Implement this method to perform tool specific logic.
This method will always be executed as a top-level progress operation.
Namespace: Spotfire.Dxp.Application.ToolsAssembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- context
- Type: Spotfire.Dxp.Application Document
The document used as context.
- result
- Type: Spotfire.Dxp.Application.Tools ExportResult
The result container.
Return Value
Type: IEnumerable ObjectAn enumerable of prompt models that should be prompted on.
Examples
using (ProgressService.CurrentProgress.BeginSubtask( "Performing export", stepCount, "Step {0} of {1}")) { // Perform subtask for (int i = 0; i < stepCount; i++) { // Do something // ... ProgressService.CurrentProgress.TryReportProgress(); ProgressService.CurrentProgress.CheckCancel(); } }
Version Information
See Also