C# Class System.Diagnostics.NtProcessManager

Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
GetModules ProcessModuleCollection
GetProcessInfo ProcessInfo
GetProcessInfos System.Diagnostics.ProcessInfo[]
GetProcessInfos System.Diagnostics.ProcessInfo[]
GetThreadInfo ThreadInfo
GetThreadWaitReason ThreadWaitReason
GetValueId ValueId
HandleError void
ReadCounterValue long

Public Methods

Method Description
GetFirstModule ( int processId ) : ProcessModule
GetModules ( int processId ) : ProcessModuleCollection
GetProcessIdFromHandle ( SafeProcessHandle processHandle ) : int
GetProcessIds ( ) : int[]
GetProcessIds ( string machineName, bool isRemoteMachine ) : int[]
GetProcessInfos ( string machineName, bool isRemoteMachine ) : System.Diagnostics.ProcessInfo[]

Private Methods

Method Description
GetModules ( int processId, bool firstModuleOnly ) : ProcessModuleCollection
GetProcessInfo ( Interop type, IntPtr instancePtr, Interop counters ) : ProcessInfo
GetProcessInfos ( PerformanceCounterLib library ) : System.Diagnostics.ProcessInfo[]
GetProcessInfos ( PerformanceCounterLib library, int processIndex, int threadIndex, byte data ) : System.Diagnostics.ProcessInfo[]
GetThreadInfo ( Interop type, IntPtr instancePtr, Interop counters ) : ThreadInfo
GetThreadWaitReason ( int value ) : ThreadWaitReason
GetValueId ( string counterName ) : ValueId
HandleError ( ) : void
ReadCounterValue ( int counterType, IntPtr dataPtr ) : long

Method Details

GetFirstModule() public static method

public static GetFirstModule ( int processId ) : ProcessModule
processId int
return ProcessModule

GetModules() public static method

public static GetModules ( int processId ) : ProcessModuleCollection
processId int
return ProcessModuleCollection

GetProcessIdFromHandle() public static method

public static GetProcessIdFromHandle ( SafeProcessHandle processHandle ) : int
processHandle Microsoft.Win32.SafeHandles.SafeProcessHandle
return int

GetProcessIds() public static method

public static GetProcessIds ( ) : int[]
return int[]

GetProcessIds() public static method

public static GetProcessIds ( string machineName, bool isRemoteMachine ) : int[]
machineName string
isRemoteMachine bool
return int[]

GetProcessInfos() public static method

public static GetProcessInfos ( string machineName, bool isRemoteMachine ) : System.Diagnostics.ProcessInfo[]
machineName string
isRemoteMachine bool
return System.Diagnostics.ProcessInfo[]