RunUnitProgramOrClass Class

MicroFocus.COBOL.RuntimeServices
Creates a RunUnit with a specific program or class and registers it
Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public methodCode exampleRunUnitProgramOrClass
Creates a RunUnit with a specific program or class and registers it
Public methodRunUnitProgramOrClass(String, RunUnitStartupOptions)
Creates a RunUnit with a specific program or class and add its to the rununit.
Public methodRunUnitProgramOrClass(Type, String, RunUnitStartupOptions)
Creates a RunUnit with a specific program or class and add it (from type)
Public methodRunUnitProgramOrClass(ProgramOrClass, String, RunUnitStartupOptions)
Creates a RunUnit with a specific program or class and adds it to the rununit.
Top
Methods

  NameDescription
Public methodCode exampleGet
Get's the initial program or class
Public methodCode exampleGetAnotherProgramOrClass(Boolean)
Gets a specific program from the rununit with a option to create it.
Public methodCode exampleGetAnotherProgramOrClass(Type, Boolean)
Gets a specific program from the rununit with a option to create it.
Top
See Also

Reference