17 references to GetProcessById
HelixTestRunner (1)
ProcessUtil.cs (1)
47var process = Process.GetProcessById(pid);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeployer.cs (1)
280HostProcess = Process.GetProcessById(workerProcess.ProcessId);
Microsoft.Build (1)
BackEnd\Components\Communications\NodeLauncher.cs (1)
190return Process.GetProcessById(childProcessId);
Microsoft.Build.CommandLine.UnitTests (2)
MSBuildServer_Tests.cs (2)
118Process.GetProcessById(pidOfServerProcess).KillTree(1000); 249var serverProcess = Process.GetProcessById(pidOfServerProcess);
Microsoft.Build.Engine (4)
LocalProvider\LocalNode.cs (1)
510if (Process.GetProcessById(parentProcessId).HasExited)
LocalProvider\LocalNodeProvider.cs (3)
455if (!Process.GetProcessById(processId).HasExited) 457Process.GetProcessById(processId).Kill(); 493if (!isInvalidProcessId && !Process.GetProcessById(nodeData[nodeId].ProcessId).HasExited)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskHostFactory_Tests.cs (1)
53Process taskHostNode = Process.GetProcessById(pid);
Microsoft.Build.Framework (1)
NativeMethods.cs (1)
1189thisProcess = Process.GetProcessById(processIdToKill);
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
633Process.GetProcessById(_processId).KillTree(1000);
Microsoft.Extensions.Hosting.WindowsServices (1)
Internal\Win32.cs (1)
36return Process.GetProcessById(procEntry.th32ParentProcessID);
MSBuildTaskHost (1)
NativeMethods.cs (1)
1189thisProcess = Process.GetProcessById(processIdToKill);
UIAutomationClient (1)
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
444targetProcess = System.Diagnostics.Process.GetProcessById( pid );
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\Misc.cs (1)
1838string processName = System.Diagnostics.Process.GetProcessById((int)processId).ProcessName;
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
488return Misc.ProxyGetClassName(Process.GetProcessById(processId).MainWindowHandle).Equals("ConsoleWindowClass");