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()));
1249
throw new InvalidOperationException(
SR
.FileNameMissing);
1253
throw new InvalidOperationException(
SR
.StandardInputEncodingNotAllowed);
1257
throw new InvalidOperationException(
SR
.StandardOutputEncodingNotAllowed);
1261
throw new InvalidOperationException(
SR
.StandardErrorEncodingNotAllowed);
1265
throw new InvalidOperationException(
SR
.ArgumentAndArgumentListInitialized);
1274
throw new ArgumentNullException("item",
SR
.ArgumentListMayNotContainNull);
1508
throw new InvalidOperationException(
SR
.NoAssociatedProcess);
1595
throw new InvalidOperationException(
SR
.CantMixSyncAsyncOperation);
1599
throw new InvalidOperationException(
SR
.PendingAsyncOperation);
1607
throw new InvalidOperationException(
SR
.CantGetStandardOut);
1633
throw new InvalidOperationException(
SR
.CantMixSyncAsyncOperation);
1638
throw new InvalidOperationException(
SR
.PendingAsyncOperation);
1647
throw new InvalidOperationException(
SR
.CantGetStandardError);
1671
throw new InvalidOperationException(
SR
.NoAsyncOperation);
1692
throw new InvalidOperationException(
SR
.NoAsyncOperation);
1746
string msg =
SR
.Format(
SR
.ErrorStartingProcess, fileName, directoryForException, errorMessage);
System\Diagnostics\Process.Linux.cs (2)
253
throw new PlatformNotSupportedException(
SR
.MinimumWorkingSetNotSupported);
373
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);
976
throw new Win32Exception(
SR
.Format(
SR
.UserDoesNotExist, startInfo.UserName));
982
throw new Win32Exception(
SR
.Format(
SR
.UserGroupsCannotBeDetermined, startInfo.UserName));
1069
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));