Request.Progress Method (Int32, Int32, String, Object[])

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)

Usage

'Usage
Dim instance As Request
Dim activityId As Integer
Dim progressPercentage As Integer
Dim messageText As String
Dim args As Object()
Dim returnValue As Boolean

returnValue = instance.Progress(activityId, progressPercentage, messageText, args)

Syntax

'Declaration
Public Function Progress ( _
    activityId As Integer, _
    progressPercentage As Integer, _
    messageText As String, _
    ParamArray args As Object() _
) As Boolean
public bool Progress (
    int activityId,
    int progressPercentage,
    string messageText,
    params Object[] args
)
public:
bool Progress (
    int activityId, 
    int progressPercentage, 
    String^ messageText, 
    ... array<Object^>^ args
)
public boolean Progress (
    int activityId, 
    int progressPercentage, 
    String messageText, 
    Object[] args
)
public function Progress (
    activityId : int, 
    progressPercentage : int, 
    messageText : String, 
    ... args : Object[]
) : boolean

Parameters

  • activityId
  • progressPercentage
  • messageText
  • args

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

Request Class
Request Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace