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