AsyncCmdlet.CompleteProgress Method
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.Utility.PowerShell
Assembly: Microsoft.OneGet.Utility.PowerShell (in Microsoft.OneGet.Utility.PowerShell.dll)
Usage
'Usage
Dim instance As AsyncCmdlet
Dim activityId As Integer
Dim isSuccessful As Boolean
Dim returnValue As Boolean
returnValue = instance.CompleteProgress(activityId, isSuccessful)
Syntax
'Declaration
Public Function CompleteProgress ( _
activityId As Integer, _
isSuccessful As Boolean _
) As Boolean
public bool CompleteProgress (
int activityId,
bool isSuccessful
)
public:
bool CompleteProgress (
int activityId,
bool isSuccessful
)
public boolean CompleteProgress (
int activityId,
boolean isSuccessful
)
public function CompleteProgress (
activityId : int,
isSuccessful : boolean
) : boolean
Parameters
- activityId
- isSuccessful
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
AsyncCmdlet Class
AsyncCmdlet Members
Microsoft.OneGet.Utility.PowerShell Namespace