244 references to Id
Aspire.Hosting (2)
Aspire.Hosting.Azure (2)
ClientSample (1)
csc (3)
dotnet-svcutil-lib (4)
ExceptionHandlerSample (1)
GetDocument.Insider (1)
HelixTestRunner (8)
IdeCoreBenchmarks (8)
IIS.FunctionalTests (3)
IIS.LongTests (3)
IIS.NewHandler.FunctionalTests (3)
IIS.NewShim.FunctionalTests (3)
IIS.ShadowCopy.Tests (3)
IISExpress.FunctionalTests (3)
InteropTests (3)
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Server.IntegrationTesting (9)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (9)
IISExpressDeployer.cs (9)
223Logger.LogInformation("iisexpress Process {pid} shut down", process.Id);
231Logger.LogInformation("iisexpress Process {pid} started", process.Id);
235Logger.LogError("Host process {processName} {pid} exited with code {exitCode} or failed to start.", startInfo.FileName, process.Id, process.ExitCode);
245Logger.LogInformation("iisexpress Process {pid} failed to bind to port {port}, trying again", process.Id, port);
262Logger.LogInformation("Started iisexpress successfully. Process Id : {processId}, Port: {port}", _hostProcess.Id, port);
442throw new Exception($"iisexpress Process {_hostProcess.Id} failed to shutdown");
558SendStopMessageToProcess(hostProcess.Id);
561throw new InvalidOperationException($"iisexpress Process {hostProcess.Id} failed to gracefully shutdown.");
571throw new InvalidOperationException($"iisexpress Process {hostProcess?.Id} crashed before shutdown was triggered.");
Microsoft.AspNetCore.SpaProxy (4)
Microsoft.Build (39)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (24)
164Stream nodeStream = TryConnectToProcess(nodeProcess.Id, timeout, NodeProviderOutOfProc.GetHandshake(nodeReuse, false));
169nodeStream = TryConnectToProcess(nodeProcess.Id, timeout, NodeProviderOutOfProc.GetHandshake(nodeReuse, true));
175CommunicationsUtilities.Trace("Shutting down node with pid = {0}", nodeProcess.Id);
267CommunicationsUtilities.Trace("Trying to connect to existing process {2} with id {1} to establish node {0}...", nodeId, nodeToReuse.Id, nodeToReuse.ProcessName);
268if (nodeToReuse.Id == Process.GetCurrentProcess().Id)
274string nodeLookupKey = GetProcessesToIgnoreKey(hostHandshake, nodeToReuse.Id);
284Stream nodeStream = TryConnectToProcess(nodeToReuse.Id, 0 /* poll, don't wait for connections */, hostHandshake);
288CommunicationsUtilities.Trace("Successfully connected to existed node {0} which is PID {1}", nodeId, nodeToReuse.Id);
289string msg = ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("NodeReused", nodeId, nodeToReuse.Id);
337_processesToIgnore.TryAdd(GetProcessesToIgnoreKey(hostHandshake, msbuildProcess.Id), default);
344Stream nodeStream = TryConnectToProcess(msbuildProcess.Id, TimeoutForNewNodeCreation, hostHandshake);
348CommunicationsUtilities.Trace("Successfully connected to created node {0} which is PID {1}", nodeId, msbuildProcess.Id);
360CommunicationsUtilities.Trace("Could not connect to node with PID {0}; it has exited with exit code {1}. This can indicate a crash at startup", msbuildProcess.Id, msbuildProcess.ExitCode);
366CommunicationsUtilities.Trace("Could not connect to node with PID {0}; it has exited with unknown exit code. This can indicate a crash at startup", msbuildProcess.Id);
372CommunicationsUtilities.Trace("Could not connect to node with PID {0}; it is still running. This can occur when two multiprocess builds run in parallel and the other one 'stole' this node", msbuildProcess.Id);
405Array.Sort(processes, (left, right) => left.Id.CompareTo(right.Id));
839CommunicationsUtilities.Trace("Waiting for node with pid = {0} to exit", _process.Id);
866_process.Id);
867CommunicationsUtilities.Trace("Killing node with pid = {0}", _process.Id);
893CommunicationsUtilities.Trace(_nodeId, "COMMUNICATIONS ERROR (HRC) Node: {0} Process: {1} Bytes Read: {2} Expected: {3}", _nodeId, _process.Id, bytesRead, _headerByte.Length);
898CommunicationsUtilities.Trace(_nodeId, " Child Process {0} has exited.", _process.Id);
902CommunicationsUtilities.Trace(_nodeId, " Child Process {0} is still running.", _process.Id);
BackEnd\Components\Scheduler\Scheduler.cs (4)
2572using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerTrace_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
2596using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
2710using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
2750using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
Microsoft.Build.CommandLine.UnitTests (1)
Microsoft.Build.Engine.OM.UnitTests (4)
Microsoft.Build.Engine.UnitTests (6)
Microsoft.Build.Framework (4)
Microsoft.Build.Tasks.CodeAnalysis (3)
Microsoft.Build.Tasks.Core (4)
Microsoft.Build.Tasks.UnitTests (2)
Microsoft.Build.UnitTests.Shared (2)
Microsoft.Build.Utilities.Core (4)
Microsoft.Build.Utilities.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.DotNet.Open.Api.Tools.Tests (1)
Microsoft.DotNet.RemoteExecutor (5)
Microsoft.Extensions.ApiDescription.Client.Tests (3)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.VisualBasic.IntegrationTests (1)
Microsoft.VisualStudio.LanguageServices (4)
MSBuild (10)
MSBuildTaskHost (10)
Replay (2)
RunTests (7)
Stress.TelemetryService (1)
System.Diagnostics.Process (3)
System.Windows.Forms.IntegrationTests.Common (1)
Templates.Blazor.Tests (3)
Templates.Blazor.WebAssembly.Auth.Tests (8)
Templates.Blazor.WebAssembly.Tests (8)
Templates.Mvc.Tests (8)
Templates.Tests (8)
UIAutomationClientSideProviders (1)
vbc (3)
VBCSCompiler (3)