RunUnit Constructor (String, RunUnitStartupOptions)

MicroFocus.COBOL.RuntimeServices
This constructor initializes a new named COBOL Run Unit with a set of specified startup options.

Namespace:  MicroFocus.COBOL.RuntimeServices
Assembly:  MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public RunUnit(
	string sessionName,
	RunUnitStartupOptions startupOptions
)

Parameters

sessionName
Type: SystemString
startupOptions
Type: MicroFocus.COBOL.RuntimeServicesRunUnitStartupOptions
Examples

// Create a run unit for the called COBOL program in a non-threaded run unit
var myRunUnit = new MicroFocus.COBOL.RuntimeServices.RunUnit("MyRunUnit", RunUnitStartupOptions.UseSingleThreadedRuntime);
See Also

Reference