Click or drag to resize

BenchTasksDoExportBenchEnvironment Method

Creates a transfer package of a given Bench environment, including a specific selection of directories and files.

Namespace:  Mastersign.Bench
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
public static ActionResult DoExportBenchEnvironment(
	IBenchManager man,
	Action<TaskInfo> notify,
	Cancelation cancelation,
	string targetFile,
	TransferPaths selection
)

Parameters

man
Type: Mastersign.BenchIBenchManager
The Bench manager.
notify
Type: SystemActionTaskInfo
The notification handler.
cancelation
Type: Mastersign.BenchCancelation
A cancelation token.
targetFile
Type: SystemString
The target file for the transfer package. If the ending is .exe, an SFX archive will be created.
selection
Type: Mastersign.BenchTransferPaths
A selection of directories and files to include in the package.

Return Value

Type: ActionResult
The result of running the task, in shape of an ActionResult object.
See Also