SafeProcessHandle.TryOpen(Int32, SafeProcessHandle) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
public:
static bool TryOpen(int processId, [Runtime::InteropServices::Out] Microsoft::Win32::SafeHandles::SafeProcessHandle ^ % processHandle);
[System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static bool TryOpen(int processId, out Microsoft.Win32.SafeHandles.SafeProcessHandle? processHandle);
[<System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member TryOpen : int * SafeProcessHandle -> bool
Public Shared Function TryOpen (processId As Integer, ByRef processHandle As SafeProcessHandle) As Boolean
Parameter
- processId
- Int32
- processHandle
- SafeProcessHandle
Gibt zurück
- Attribute