Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EnsureState()

void System.Diagnostics.ProcessThread.EnsureState ( State state)
inlineprivate

Definition at line 170 of file ProcessThread.cs.

171 {
172 if ((state & State.IsLocal) != 0 && _isRemoteMachine)
173 {
174 throw new NotSupportedException(System.SR.NotSupportedRemoteThread);
175 }
176 }
static string NotSupportedRemoteThread
Definition SR.cs:42
Definition SR.cs:7

References System.Diagnostics.ProcessThread._isRemoteMachine, System.SR.NotSupportedRemoteThread, and System.state.

Referenced by System.Diagnostics.ProcessThread.OpenThreadHandle().