12 references to NodeEngineShutdownReason
MSBuildTaskHost (12)
OutOfProcTaskHost.cs (3)
104NodeEngineShutdownReason taskHostShutDownReason = oopTaskHostNode.Run(out taskHostShutDownException); 113case NodeEngineShutdownReason.BuildComplete: 116case NodeEngineShutdownReason.BuildCompleteReuse:
OutOfProcTaskHostNode.cs (9)
105private NodeEngineShutdownReason _shutdownReason; 642public NodeEngineShutdownReason Run(out Exception shutdownException) 664NodeEngineShutdownReason shutdownReason = HandleShutdown(); 768_shutdownReason = NodeEngineShutdownReason.BuildComplete; 810_shutdownReason = buildComplete.PrepareForReuse && Traits.Instance.EscapeHatches.ReuseTaskHostNodes ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete; 817private NodeEngineShutdownReason HandleShutdown() 850_nodeEndpoint.SendData(new NodeShutdown(_shutdownReason == NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested)); 883_shutdownReason = NodeEngineShutdownReason.ConnectionFailed;