RtProcess.WaitForExit Method (Int32)

Instructs the IntervalZero.MaxRT.wRTOS.RtApi.Diagnostics.RtProcess object to wait the specified number of milliseconds for the associated process to exit.

Note: The Int32 timeout value passed to all RtProcess.WaitXxx APIs can be the value System.Threading.Timeout.Infinite to mean the API should wait indefinitely.

Namespace:  IntervalZero.MaxRT.wRTOS.RtApi.Diagnostics
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public bool WaitForExit(
    int milliseconds
)

Parameters

milliseconds

Type: System.Int32
The amount of time, in milliseconds, to wait for the associated process to exit. The maximum is the largest possible value of a 32-bit integer, which represents infinity to the operating system.

Return Value

Type: Boolean
Returns true if the associated process has exited; otherwise, returns false.

Implements

IDiagnosticsRtProcess.WaitForExit (Int32).

See Also: