72 references to SR
System.Diagnostics.Process (72)
System\Diagnostics\Process.cs (32)
562
throw new InvalidOperationException(
SR
.CantGetProcessStartInfo);
575
throw new InvalidOperationException(
SR
.CantSetProcessStartInfo);
684
throw new InvalidOperationException(
SR
.CantGetStandardIn);
702
throw new InvalidOperationException(
SR
.CantGetStandardOut);
711
throw new InvalidOperationException(
SR
.CantMixSyncAsyncOperation);
728
throw new InvalidOperationException(
SR
.CantGetStandardError);
737
throw new InvalidOperationException(
SR
.CantMixSyncAsyncOperation);
949
throw new InvalidOperationException(
SR
.NoAssociatedProcess);
962
throw new InvalidOperationException(
SR
.ProcessIdRequired);
973
throw new NotSupportedException(
SR
.NotSupportedRemote);
987
throw new InvalidOperationException(
SR
.NoProcessInfo);
996
throw new InvalidOperationException(
SR
.WaitTillExit);
1001
throw new InvalidOperationException(
SR
.NoProcessHandle);
1039
throw new ArgumentException(
SR
.Format(
SR
.MissingProcess, processId.ToString()));
1247
throw new InvalidOperationException(
SR
.FileNameMissing);
1251
throw new InvalidOperationException(
SR
.StandardInputEncodingNotAllowed);
1255
throw new InvalidOperationException(
SR
.StandardOutputEncodingNotAllowed);
1259
throw new InvalidOperationException(
SR
.StandardErrorEncodingNotAllowed);
1263
throw new InvalidOperationException(
SR
.ArgumentAndArgumentListInitialized);
1272
throw new ArgumentNullException("item",
SR
.ArgumentListMayNotContainNull);
1506
throw new InvalidOperationException(
SR
.NoAssociatedProcess);
1593
throw new InvalidOperationException(
SR
.CantMixSyncAsyncOperation);
1597
throw new InvalidOperationException(
SR
.PendingAsyncOperation);
1605
throw new InvalidOperationException(
SR
.CantGetStandardOut);
1631
throw new InvalidOperationException(
SR
.CantMixSyncAsyncOperation);
1636
throw new InvalidOperationException(
SR
.PendingAsyncOperation);
1645
throw new InvalidOperationException(
SR
.CantGetStandardError);
1669
throw new InvalidOperationException(
SR
.NoAsyncOperation);
1690
throw new InvalidOperationException(
SR
.NoAsyncOperation);
1744
string msg =
SR
.Format(
SR
.ErrorStartingProcess, fileName, directoryForException, errorMessage);
System\Diagnostics\Process.Linux.cs (2)
248
throw new PlatformNotSupportedException(
SR
.MinimumWorkingSetNotSupported);
367
throw new Win32Exception(
SR
.ProcessInformationUnavailable);
System\Diagnostics\Process.NonUap.cs (2)
26
throw new InvalidOperationException(
SR
.KillEntireProcessTree_DisallowedBecauseTreeContainsCallingProcess);
31
throw new AggregateException(
SR
.KillEntireProcessTree_TerminationIncomplete, result);
System\Diagnostics\Process.Unix.cs (11)
45
throw new PlatformNotSupportedException(
SR
.ProcessStartWithPasswordAndDomainNotSupported);
52
throw new PlatformNotSupportedException(
SR
.ProcessStartWithPasswordAndDomainNotSupported);
341
throw new InvalidOperationException(
SR
.Format(
SR
.ProcessHasExited, _processId.ToString()));
383
throw new InvalidOperationException(
SR
.CantRedirectStreams);
453
throw new Win32Exception(
SR
.DirectoryNotValidAsInput);
970
throw new Win32Exception(
SR
.Format(
SR
.UserDoesNotExist, startInfo.UserName));
976
throw new Win32Exception(
SR
.Format(
SR
.UserGroupsCannotBeDetermined, startInfo.UserName));
1063
private static bool WaitForInputIdleCore(int _ /*milliseconds*/) => throw new InvalidOperationException(
SR
.InputIdleUnknownError);
System\Diagnostics\ProcessManager.Unix.cs (1)
76
throw new PlatformNotSupportedException(
SR
.RemoteMachinesNotSupported);
System\Diagnostics\ProcessStartInfo.Unix.cs (20)
18
get { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(PasswordInClearText))); }
19
set { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(PasswordInClearText))); }
26
get { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(Domain))); }
27
set { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(Domain))); }
33
get { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(LoadUserProfile))); }
34
set { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(LoadUserProfile))); }
40
get { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(UseCredentialsForNetworkingOnly))); }
41
set { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(UseCredentialsForNetworkingOnly))); }
52
get { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(Password))); }
53
set { throw new PlatformNotSupportedException(
SR
.Format(
SR
.ProcessStartSingleFeatureNotSupported, nameof(Password))); }
System\Diagnostics\ProcessThread.cs (2)
136
throw new InvalidOperationException(
SR
.WaitReasonUnavailable);
157
throw new NotSupportedException(
SR
.NotSupportedRemoteThread);
System\Diagnostics\ProcessThread.Linux.cs (2)
88
throw new InvalidOperationException(
SR
.Format(
SR
.ThreadExited, Id));