SafeProcessHandle.TryOpen(Int32, SafeProcessHandle) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
パラメーター
- processId
- Int32
- processHandle
- SafeProcessHandle
戻り値
- 属性