1 write to Options
Microsoft.DotNet.RemoteExecutor (1)
RemoteInvokeHandle.cs (1)
24
Options
= options;
12 references to Options
Microsoft.DotNet.RemoteExecutor (12)
RemoteInvokeHandle.cs (12)
108
int halfTimeOut =
Options
.TimeOut == Timeout.Infinite ?
Options
.TimeOut :
Options
.TimeOut / 2;
147
description.AppendLine($"Timed out at {DateTime.Now} after {
Options
.TimeOut}ms waiting for remote process.");
229
FileInfo exceptionFileInfo = new FileInfo(
Options
.ExceptionFile);
232
throw new RemoteExecutionException("Remote process failed with an unhandled exception.", File.ReadAllText(
Options
.ExceptionFile));
235
if (
Options
.CheckExitCode)
237
int expected = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ?
Options
.ExpectedExitCode : unchecked((sbyte)
Options
.ExpectedExitCode);
242
throw new RemoteExecutionException($"Exit code was {Process.ExitCode} but it should have been {
Options
.ExpectedExitCode}");
248
if (File.Exists(
Options
.ExceptionFile))
250
File.Delete(
Options
.ExceptionFile);