InstallProgressChangedEventArgs Constructor
Creates an InstallProgressChangedEventArgs object.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'Dichiarazione
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.Boolean
true if the event was fired by an uninstall operation; otherwise, false.
- progressPercentage
Type: System.Int32
The percentage of bytes already installed relative to the total number of bytes to be installed.
- userState
Type: System.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
- 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.