| 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
)
Public Shared Function DoExportBenchEnvironment (
man As IBenchManager,
notify As Action(Of TaskInfo),
cancelation As Cancelation,
targetFile As String,
selection As TransferPaths
) As ActionResult
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:
ActionResultThe result of running the task, in shape of an
ActionResult object.
See Also