diff --git a/xml/System.Diagnostics/Process.xml b/xml/System.Diagnostics/Process.xml index 3db41397e01..61d45896c26 100644 --- a/xml/System.Diagnostics/Process.xml +++ b/xml/System.Diagnostics/Process.xml @@ -2530,7 +2530,9 @@ The calling process is a member of the associated process' descendant tree. is zero), is an empty string (""). If you have just started a process and want to use its main window title, consider using the method to allow the process to finish starting, ensuring that the main window handle has been created. Otherwise, the system throws an exception. + A process has a main window associated with it only if the process has a graphical interface. If the associated process does not have a main window (so that is zero), or if the system can't determine that there's a main window (such as may be the case on some Unix platforms), is an empty string (""). + + If you have just started a process and want to use its main window title, consider using the method to allow the process to finish starting, ensuring that the main window handle has been created. Otherwise, the system throws an exception. > [!NOTE] > The main window is the window that currently has the focus; note that this might not be the primary window for the process. You must use the method to refresh the object to get the current main window handle if it has changed.