AsyncProcess.WaitForExit 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 instance As AsyncProcess
Dim milliseconds As Integer
Dim returnValue As Boolean

returnValue = instance.WaitForExit(milliseconds)

Syntax

'Declaration
Public Function WaitForExit ( _
    milliseconds As Integer _
) As Boolean
public bool WaitForExit (
    int milliseconds
)
public:
bool WaitForExit (
    int milliseconds
)
public boolean WaitForExit (
    int milliseconds
)
public function WaitForExit (
    milliseconds : int
) : boolean

Parameters

  • milliseconds

Return Value

Returns Boolean.

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