Creates a RunUnit with a specific program or class and registers it
            
Inheritance Hierarchy
MicroFocus.COBOL.RuntimeServicesRunUnit
MicroFocus.COBOL.RuntimeServices.GenericRunUnitProgramOrClass
Namespace: MicroFocus.COBOL.RuntimeServices.Generic
Assembly: MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
Syntax
[CLSCompliantAttribute(false)] public class RunUnit<ProgramOrClass> : RunUnit, IRunUnit<ProgramOrClass>, IRunUnit, IDisposable where ProgramOrClass : IObjectControl
Type Parameters
- ProgramOrClass
Constructors
| Name | Description | |
|---|---|---|
|   | RunUnitProgramOrClass | 
            Creates a RunUnit with a specific program or class and registers it
             | 
|  | RunUnitProgramOrClass(String, RunUnitStartupOptions) | 
            Creates a RunUnit with a specific program or class and add its to the rununit.
             | 
|  | RunUnitProgramOrClass(Type, String, RunUnitStartupOptions) | 
            Creates a RunUnit with a specific program or class and add it (from type)
             | 
|  | RunUnitProgramOrClass(ProgramOrClass, String, RunUnitStartupOptions) | 
            Creates a RunUnit with a specific program or class and adds it to the rununit.
             | 
Methods
| Name | Description | |
|---|---|---|
|   | Get | 
            Get's the initial program or class
             | 
|   | GetAnotherProgramOrClass(Boolean) | 
            Gets a specific program from the rununit with a option to create it.
             | 
|   | GetAnotherProgramOrClass(Type, Boolean) | 
            Gets a specific program from the rununit with a option to create it.
             | 
See Also