AsyncProcess.GetProcessById Method (Int32)

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Platform
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim processId As Integer
Dim returnValue As AsyncProcess

returnValue = AsyncProcess.GetProcessById(processId)

Syntax

'Declaration
Public Shared Function GetProcessById ( _
    processId As Integer _
) As AsyncProcess
public static AsyncProcess GetProcessById (
    int processId
)
public:
static AsyncProcess^ GetProcessById (
    int processId
)
public static AsyncProcess GetProcessById (
    int processId
)
public static function GetProcessById (
    processId : int
) : AsyncProcess

Parameters

  • processId

Return Value

Returns AsyncProcess.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

AsyncProcess Class
AsyncProcess Members
Microsoft.OneGet.Utility.Platform Namespace