12 references to NodeEngineShutdownReason
MSBuildTaskHost (12)
OutOfProcTaskHost.cs (3)
104NodeEngineShutdownReason taskHostShutDownReason = oopTaskHostNode.Run(out taskHostShutDownException); 113case NodeEngineShutdownReason.BuildComplete: 116case NodeEngineShutdownReason.BuildCompleteReuse:
OutOfProcTaskHostNode.cs (9)
106private NodeEngineShutdownReason _shutdownReason; 633public NodeEngineShutdownReason Run(out Exception shutdownException) 655NodeEngineShutdownReason shutdownReason = HandleShutdown(); 759_shutdownReason = NodeEngineShutdownReason.BuildComplete; 801_shutdownReason = buildComplete.PrepareForReuse && Traits.Instance.EscapeHatches.ReuseTaskHostNodes ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete; 808private NodeEngineShutdownReason HandleShutdown() 840_nodeEndpoint.SendData(new NodeShutdown(_shutdownReason == NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested)); 873_shutdownReason = NodeEngineShutdownReason.ConnectionFailed;