C# Class System.Diagnostics.NtProcessManager

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
GetModules ProcessModuleCollection
GetProcessInfo ProcessInfo
GetProcessInfos System.Diagnostics.ProcessInfo[]
GetProcessInfos System.Diagnostics.ProcessInfo[]
GetThreadInfo ThreadInfo
GetThreadWaitReason ThreadWaitReason
GetValueId ValueId
HandleError void
ReadCounterValue long

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static GetFirstModule ( int processId ) : ProcessModule
processId int
Résultat ProcessModule

GetModules() public static méthode

public static GetModules ( int processId ) : ProcessModuleCollection
processId int
Résultat ProcessModuleCollection

GetProcessIdFromHandle() public static méthode

public static GetProcessIdFromHandle ( SafeProcessHandle processHandle ) : int
processHandle Microsoft.Win32.SafeHandles.SafeProcessHandle
Résultat int

GetProcessIds() public static méthode

public static GetProcessIds ( ) : int[]
Résultat int[]

GetProcessIds() public static méthode

public static GetProcessIds ( string machineName, bool isRemoteMachine ) : int[]
machineName string
isRemoteMachine bool
Résultat int[]

GetProcessInfos() public static méthode

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