6 references to Failure
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
929result = HandshakeResult.Failure(HandshakeStatus.Undefined, "Check the COMM traces to diagnose the issue with communication.");
Microsoft.Build.Framework (5)
BackEnd\CommunicationsUtilities.cs (5)
479return HandshakeResult.Failure(HandshakeStatus.VersionMismatch, errorMessage); 515result = HandshakeResult.Failure(HandshakeStatus.Timeout, $"Did not receive return handshake in {timeout}ms"); 531result = HandshakeResult.Failure(HandshakeStatus.OldMSBuild, $"Client: rejected old host. Received byte {bytes[0]} instead of {byteToAccept}."); 539result = HandshakeResult.Failure(HandshakeStatus.UnexpectedEndOfStream, "Unexpected end of stream while reading for handshake"); 558result = HandshakeResult.Failure(HandshakeStatus.EndiannessMismatch, $"Failed to convert the handshake to big-endian. {ex.Message}");