int32 xtd::diagnostics::process::exit_code | ( | ) | const |
Gets the value that the associated process specified when it terminated.
xtd::invalid_operation_exception | The process has not exited. -or- The process xtd::diagnostics::process::handle is not valid. |
xtd::not_supported_exception | You are trying to access the xtd::diagnostics::process::exit_code property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer. |