Share via


InstallProgressChangedEventArgs Constructor

Creates an InstallProgressChangedEventArgs object.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'Declaration
Public Sub New ( _
    uninstalling As Boolean, _
    progressPercentage As Integer, _
    userState As Object _
)
public InstallProgressChangedEventArgs(
    bool uninstalling,
    int progressPercentage,
    Object userState
)
public:
InstallProgressChangedEventArgs(
    bool uninstalling, 
    int progressPercentage, 
    Object^ userState
)
new : 
        uninstalling:bool * 
        progressPercentage:int * 
        userState:Object -> InstallProgressChangedEventArgs
public function InstallProgressChangedEventArgs(
    uninstalling : boolean, 
    progressPercentage : int, 
    userState : Object
)

Parameters

  • uninstalling
    Type: Boolean

    true if the event was fired by an uninstall operation; otherwise, false.

  • progressPercentage
    Type: Int32

    The percentage of bytes already installed relative to the total number of bytes to be installed.

  • userState
    Type: Object

    An object that represents user state, typically obtained from the UserSuppliedState of the asynchronous install operation.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

.NET Framework Security

See Also

Reference

InstallProgressChangedEventArgs Class

Microsoft.VisualStudio.ExtensionManager Namespace