ManagementOperationObserver.Progress Event
Assembly: System.Management (in system.management.dll)
'Declaration Public Event Progress As ProgressEventHandler 'Usage Dim instance As ManagementOperationObserver Dim handler As ProgressEventHandler AddHandler instance.Progress, handler
/** @event */ public void add_Progress (ProgressEventHandler value) /** @event */ public void remove_Progress (ProgressEventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.
Event Data
The event handler receives an argument of type ProgressEventArgs containing data related to this event. The following ProgressEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Context (inherited from ManagementEventArgs) | Gets the operation context echoed back from the operation that triggered the event. |
| Gets the current amount of work done by the operation. This is always less than or equal to UpperBound. | |
| Gets or sets optional additional information regarding the operation's progress. | |
| UpperBound | Gets the total amount of work required to be done by the operation. |
.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.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.