RunUnitStopRun Method (Int32)

MicroFocus.COBOL.RuntimeServices
Terminates the Run Unit using the supplied return code value

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

public void StopRun(
	int returnCode
)

Parameters

returnCode
Type: SystemInt32

Implements

IRunUnitStopRun(Int32)
Exceptions

ExceptionCondition
ArgumentExceptionIf StopRun method has already been invoked.
Remarks

NOTE: Any objects added via SetUserData and implemented IDisposable will have the Dispose method invoke before removal from rununit.
See Also

Reference