SafeProcessHandle
SafeProcessHandle()
SafeProcessHandle(IntPtr, Boolean)
IsInvalid
ProcessId
Kill()
ReleaseHandle()
Signal(PosixSignal)
Start(ProcessStartInfo)
TryWaitForExit(TimeSpan, ProcessExitStatus)
WaitForExit()
WaitForExitAsync(CancellationToken)
WaitForExitOrKillOnCancellationAsync(CancellationToken)
WaitForExitOrKillOnTimeout(TimeSpan)
net11.0
namespace Microsoft.Win32.SafeHandles
{
public sealed class SafeProcessHandle : SafeHandleZeroOrMinusOneIsInvalid
{
[SupportedOSPlatform("maccatalyst")]
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("tvos")]
public static SafeProcessHandle! Start(ProcessStartInfo! startInfo);
}
}
| Design Reviews |
|
|---|---|
| .NET | 11.0 |
Information specific to net11.0 | |
| Assembly | System.Diagnostics.Process , Version=11.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is supported on any platform except for these:
|
- Built-in API
- Package-provided API