13 references to NodeEngineShutdownReason
MSBuildTaskHost (13)
OutOfProcTaskHost.cs (3)
104NodeEngineShutdownReason taskHostShutDownReason = oopTaskHostNode.Run(out taskHostShutDownException); 113case NodeEngineShutdownReason.BuildComplete: 116case NodeEngineShutdownReason.BuildCompleteReuse:
OutOfProcTaskHostNode.cs (10)
105private NodeEngineShutdownReason _shutdownReason; 647public NodeEngineShutdownReason Run(out Exception shutdownException, bool nodeReuse = false) 670NodeEngineShutdownReason shutdownReason = HandleShutdown(); 774_shutdownReason = NodeEngineShutdownReason.BuildComplete; 818_shutdownReason = NodeEngineShutdownReason.BuildCompleteReuse; 823_shutdownReason = buildComplete.PrepareForReuse && Traits.Instance.EscapeHatches.ReuseTaskHostNodes ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete; 831private NodeEngineShutdownReason HandleShutdown() 864_nodeEndpoint.SendData(new NodeShutdown(_shutdownReason == NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested)); 897_shutdownReason = NodeEngineShutdownReason.ConnectionFailed;