InstallProgressChangedEventArgs Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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: System.Booleantrue if the event was fired by an uninstall operation; otherwise, false.
progressPercentage
Type: System.Int32The percentage of bytes already installed relative to the total number of bytes to be installed.
userState
Type: System.ObjectAn 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.