This documentation is archived and is not being maintained.

Process Members (Visual J# Syntax)

Visual Studio .NET 2003

This topic shows Visual J# syntax for the .NET Framework library. For more information, click the link to the corresponding .NET Framework topic.

Declaration

/** @attribute System.ComponentModel.DefaultPropertyAttribute(Name = "StartInfo") */
/** @attribute System.ComponentModel.DesignerAttribute(DesignerBaseTypeName = "System.ComponentModel.Design.IDesigner", DesignerTypeName = "System.Diagnostics.Design.ProcessDesigner, System.Design, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") */
/** @attribute System.ComponentModel.DefaultEventAttribute(Name = "Exited") */
public class Process
   extends System.ComponentModel.Component

Public Constructors

public Process();

Public Properties

public int get_BasePriority();
public boolean get_EnableRaisingEvents();
public void set_EnableRaisingEvents(
   boolean value
);
public int get_ExitCode();
public System.DateTime get_ExitTime();
public System.IntPtr get_Handle();
public int get_HandleCount();
public boolean get_HasExited();
public int get_Id();
public System.String get_MachineName();
public System.Diagnostics.ProcessModule get_MainModule();
public System.IntPtr get_MainWindowHandle();
public System.String get_MainWindowTitle();
public System.IntPtr get_MaxWorkingSet();
public void set_MaxWorkingSet(
   System.IntPtr value
);
public System.IntPtr get_MinWorkingSet();
public void set_MinWorkingSet(
   System.IntPtr value
);
public System.Diagnostics.ProcessModuleCollection get_Modules();
public int get_NonpagedSystemMemorySize();
public int get_PagedMemorySize();
public int get_PagedSystemMemorySize();
public int get_PeakPagedMemorySize();
public int get_PeakVirtualMemorySize();
public int get_PeakWorkingSet();
public boolean get_PriorityBoostEnabled();
public void set_PriorityBoostEnabled(
   boolean value
);
public System.Diagnostics.ProcessPriorityClass get_PriorityClass();
public void set_PriorityClass(
   System.Diagnostics.ProcessPriorityClass value
);
public int get_PrivateMemorySize();
public System.TimeSpan get_PrivilegedProcessorTime();
public System.String get_ProcessName();
public System.IntPtr get_ProcessorAffinity();
public void set_ProcessorAffinity(
   System.IntPtr value
);
public boolean get_Responding();
public System.IO.StreamReader get_StandardError();
public System.IO.StreamWriter get_StandardInput();
public System.IO.StreamReader get_StandardOutput();
public System.Diagnostics.ProcessStartInfo get_StartInfo();
public void set_StartInfo(
   System.Diagnostics.ProcessStartInfo value
);
public System.DateTime get_StartTime();
public System.ComponentModel.ISynchronizeInvoke get_SynchronizingObject();
public void set_SynchronizingObject(
   System.ComponentModel.ISynchronizeInvoke value
);
public System.Diagnostics.ProcessThreadCollection get_Threads();
public System.TimeSpan get_TotalProcessorTime();
public System.TimeSpan get_UserProcessorTime();
public int get_VirtualMemorySize();
public int get_WorkingSet();

Public Methods

public void Close();
public boolean CloseMainWindow();
public static void EnterDebugMode();
public static System.Diagnostics.Process GetCurrentProcess();
public static System.Diagnostics.Process GetProcessById(
   int processId
);
public static System.Diagnostics.Process GetProcessById(
   int processId,
   System.String machineName
);
public static System.Diagnostics.Process[] GetProcesses();
public static System.Diagnostics.Process[] GetProcesses(
   System.String machineName
);
public static System.Diagnostics.Process[] GetProcessesByName(
   System.String processName
);
public static System.Diagnostics.Process[] GetProcessesByName(
   System.String processName,
   System.String machineName
);
public void Kill();
public static void LeaveDebugMode();
public void Refresh();
public boolean Start();
public static System.Diagnostics.Process Start(
   System.Diagnostics.ProcessStartInfo startInfo
);
public static System.Diagnostics.Process Start(
   System.String fileName
);
public static System.Diagnostics.Process Start(
   System.String fileName,
   System.String arguments
);
public System.String ToString();
public void WaitForExit();
public boolean WaitForExit(
   int milliseconds
);
public boolean WaitForInputIdle();
public boolean WaitForInputIdle(
   int milliseconds
);

Public Events

public void add_Exited(
   System.EventHandler value
);
public void remove_Exited(
   System.EventHandler value
);

Protected Methods

protected void Dispose(
   boolean disposing
);
protected void OnExited();
Show: