|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| class | ShellExecuteHelper |
Public Member Functions | |
| Process () | |
| bool | CloseMainWindow () |
| bool | WaitForInputIdle () |
| bool | WaitForInputIdle (int milliseconds) |
| void | Close () |
| void | Refresh () |
| bool | Start () |
| override string | ToString () |
| void | WaitForExit () |
| bool | WaitForExit (int milliseconds) |
| async Task | WaitForExitAsync (CancellationToken cancellationToken=default(CancellationToken)) |
| void | BeginOutputReadLine () |
| void | BeginErrorReadLine () |
| void | CancelOutputRead () |
| void | CancelErrorRead () |
| void | Kill () |
| void | Kill (bool entireProcessTree) |
| void | Dispose () |
| object | GetLifetimeService () |
| virtual object | InitializeLifetimeService () |
Static Public Member Functions | |
| static Process | GetProcessById (int processId, string machineName) |
| static Process | GetProcessById (int processId) |
| static Process[] | GetProcessesByName (string? processName) |
| static Process[] | GetProcesses () |
| static Process[] | GetProcesses (string machineName) |
| static Process | GetCurrentProcess () |
| static Process | Start (string fileName) |
| static Process | Start (string fileName, string arguments) |
| static Process | Start (string fileName, IEnumerable< string > arguments) |
| static ? Process | Start (ProcessStartInfo startInfo) |
| static Process[] | GetProcessesByName (string? processName, string machineName) |
| static ? Process | Start (string fileName, string userName, SecureString password, string domain) |
| static ? Process | Start (string fileName, string arguments, string userName, SecureString password, string domain) |
| static void | EnterDebugMode () |
| static void | LeaveDebugMode () |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| void | OnExited () |
| virtual ? object | GetService (Type service) |
| MarshalByRefObject | MemberwiseClone (bool cloneIdentity) |
Package Functions | |
| void | OutputReadNotifyUser (string data) |
| void | ErrorReadNotifyUser (string data) |
Package Attributes | |
| AsyncStreamReader | _output |
| AsyncStreamReader | _error |
| bool | _pendingOutputRead |
| bool | _pendingErrorRead |
Events | |
| DataReceivedEventHandler? | OutputDataReceived |
| DataReceivedEventHandler? | ErrorDataReceived |
Private Types | |
| enum | StreamReadMode { Undefined , SyncMode , AsyncMode } |
| enum | State { HaveId = 1 , IsLocal = 2 , HaveNonExitedId = 5 , HaveProcessInfo = 8 , Exited = 16 , Associated = 32 } |
Static Private Member Functions | |
| static Win32Exception | CreateExceptionForErrorStartingProcess (string errorMessage, int errorCode, string fileName, string workingDirectory) |
| static Encoding | GetEncoding (int codePage) |
| static void | BuildCommandLine (ProcessStartInfo startInfo, ref System.Text.ValueStringBuilder commandLine) |
| static unsafe void | SetPrivilege (string privilegeName, int attrib) |
| static void | CreatePipeWithSecurityAttributes (out SafeFileHandle hReadPipe, out SafeFileHandle hWritePipe, ref global::Interop.Kernel32.SECURITY_ATTRIBUTES lpPipeAttributes, int nSize) |
| static string | GetEnvironmentVariablesBlock (IDictionary< string, string > sd) |
| static string | GetErrorMessage (int error) |
| static bool | IsProcessInvalidException (Exception e) |
Static Private Attributes | |
| static int | s_cachedSerializationSwitch |
| static readonly object | s_createProcessLock = new object() |
| static readonly object | s_eventDisposed = new object() |
Definition at line 17 of file Process.cs.