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