// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
thrownewException($"Function never assigned a value after {timeout.Minutes} minutes and {timeout.Seconds} seconds and no exceptions were thrown");
}
else
varretval=action();
if(!Equals(default(T),retval))
{
thrownewException($"Function never assigned a value after {timeout.Minutes} minutes and {timeout.Seconds} seconds. Last observed excepton was:{e.Message}{e.StackTrace}");