101 references to SR
System.Diagnostics.Process (101)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (2)
92throw new InvalidOperationException(SR.CantSetRedirectForSafeProcessHandleStart); 378throw new InvalidOperationException(SR.InvalidProcessHandle);
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (4)
52throw new InvalidOperationException(SR.InvalidProcessHandle); 149throw new InvalidOperationException(SR.InvalidProcessHandle); 154throw new PlatformNotSupportedException(SR.NotSupportedForNonChildProcess); 210throw new Win32Exception(SR.DirectoryNotValidAsInput);
System\Diagnostics\Process.cs (26)
479throw new InvalidOperationException(SR.CantGetProcessStartInfo); 492throw new InvalidOperationException(SR.CantSetProcessStartInfo); 588throw new InvalidOperationException(SR.CantGetStandardIn); 606throw new InvalidOperationException(SR.CantGetStandardOut); 615throw new InvalidOperationException(SR.CantMixSyncAsyncOperation); 632throw new InvalidOperationException(SR.CantGetStandardError); 641throw new InvalidOperationException(SR.CantMixSyncAsyncOperation); 841throw new InvalidOperationException(SR.NoAssociatedProcess); 854throw new InvalidOperationException(SR.ProcessIdRequired); 865throw new NotSupportedException(SR.NotSupportedRemote); 872throw new InvalidOperationException(SR.WaitTillExit); 877throw new InvalidOperationException(SR.NoProcessHandle); 916throw new ArgumentException(SR.Format(SR.MissingProcess, processId.ToString())); 933throw new ArgumentException(SR.Format(SR.MissingProcess, processId.ToString())); 1525throw new InvalidOperationException(SR.NoAssociatedProcess); 1612throw new InvalidOperationException(SR.CantMixSyncAsyncOperation); 1616throw new InvalidOperationException(SR.PendingAsyncOperation); 1624throw new InvalidOperationException(SR.CantGetStandardOut); 1649throw new InvalidOperationException(SR.CantMixSyncAsyncOperation); 1654throw new InvalidOperationException(SR.PendingAsyncOperation); 1663throw new InvalidOperationException(SR.CantGetStandardError); 1687throw new InvalidOperationException(SR.NoAsyncOperation); 1708throw new InvalidOperationException(SR.NoAsyncOperation); 1797throw new InvalidOperationException(SR.NoProcessInfo);
System\Diagnostics\Process.Linux.cs (2)
219throw new PlatformNotSupportedException(SR.MinimumWorkingSetNotSupported); 339throw new Win32Exception(SR.ProcessInformationUnavailable);
System\Diagnostics\Process.Multiplexing.cs (4)
603throw new InvalidOperationException(SR.CantGetStandardOut); 607throw new InvalidOperationException(SR.CantGetStandardError); 611throw new InvalidOperationException(SR.CantMixSyncAsyncOperation); 615throw new InvalidOperationException(SR.CantMixSyncAsyncOperation);
System\Diagnostics\Process.NonUap.cs (2)
26throw new InvalidOperationException(SR.KillEntireProcessTree_DisallowedBecauseTreeContainsCallingProcess); 31throw new AggregateException(SR.KillEntireProcessTree_TerminationIncomplete, result);
System\Diagnostics\Process.Scenarios.cs (4)
361throw new InvalidOperationException(SR.Format(SR.UseShellExecuteNotSupportedForScenario, methodName)); 369throw new InvalidOperationException(SR.Format(SR.RedirectStandardOutputAndErrorRequired, methodName));
System\Diagnostics\Process.Unix.cs (5)
41throw new PlatformNotSupportedException(SR.ProcessStartWithPasswordAndDomainNotSupported); 48throw new PlatformNotSupportedException(SR.ProcessStartWithPasswordAndDomainNotSupported); 337throw new InvalidOperationException(SR.Format(SR.ProcessHasExited, _processId.ToString())); 438private static bool WaitForInputIdleCore(int _ /*milliseconds*/) => throw new InvalidOperationException(SR.InputIdleUnknownError);
System\Diagnostics\ProcessManager.Unix.cs (1)
57throw new PlatformNotSupportedException(SR.RemoteMachinesNotSupported);
System\Diagnostics\ProcessStartInfo.cs (17)
409throw new InvalidOperationException(SR.FileNameMissing); 413throw new InvalidOperationException(SR.StandardInputEncodingNotAllowed); 417throw new InvalidOperationException(SR.StandardOutputEncodingNotAllowed); 421throw new InvalidOperationException(SR.StandardErrorEncodingNotAllowed); 425throw new InvalidOperationException(SR.ArgumentAndArgumentListInitialized); 443throw new InvalidOperationException(SR.CantRedirectStreams); 448throw new InvalidOperationException(SR.StartDetachedNotCompatible); 453throw new InvalidOperationException(SR.InheritedHandlesRequiresCreateProcess); 460throw new InvalidOperationException(SR.KillOnParentExitCannotBeUsedWithUseShellExecute); 476throw new ArgumentException(SR.Arg_InvalidHandle, InheritedHandlesParamName(i)); 488throw new ArgumentException(SR.InheritedHandles_OnlySelectedSafeHandlesAreSupported, InheritedHandlesParamName(i)); 496throw new ArgumentException(SR.InheritedHandles_MustNotContainDuplicates, InheritedHandlesParamName(i)); 514throw new InvalidOperationException(SR.CantSetHandleAndRedirect); 518throw new InvalidOperationException(SR.CantSetHandleAndRedirect); 522throw new InvalidOperationException(SR.CantSetHandleAndRedirect); 536throw new ArgumentException(SR.Arg_InvalidHandle, paramName); 566throw new ArgumentException(SR.InheritedHandles_MustNotContainStandardHandles, nameof(InheritedHandles));
System\Diagnostics\ProcessStartInfo.Unix.cs (24)
18get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(PasswordInClearText))); } 19set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(PasswordInClearText))); } 26get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(Domain))); } 27set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(Domain))); } 33get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(LoadUserProfile))); } 34set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(LoadUserProfile))); } 40get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(UseCredentialsForNetworkingOnly))); } 41set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(UseCredentialsForNetworkingOnly))); } 50get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(Password))); } 51set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(Password))); } 57get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(CreateNewProcessGroup))); } 58set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(CreateNewProcessGroup))); }
System\Diagnostics\ProcessThread.cs (2)
136throw new InvalidOperationException(SR.WaitReasonUnavailable); 157throw new NotSupportedException(SR.NotSupportedRemoteThread);
System\Diagnostics\ProcessThread.Linux.cs (2)
88throw new InvalidOperationException(SR.Format(SR.ThreadExited, Id));
System\Diagnostics\ProcessUtils.cs (2)
46string msg = SR.Format(SR.ErrorStartingProcess, fileName, directoryForException, errorMessage);
System\Diagnostics\ProcessUtils.Unix.cs (4)
119throw new Win32Exception(SR.Format(SR.UserDoesNotExist, startInfo.UserName)); 125throw new Win32Exception(SR.Format(SR.UserGroupsCannotBeDetermined, startInfo.UserName));