This documentation is archived and is not being maintained.

ManagementOperationObserver.Progress Event

Occurs to indicate the progress of an ongoing operation.

[Visual Basic]
Public Event Progress As ProgressEventHandler
[C#]
public event ProgressEventHandler Progress;
[C++]
public: __event ProgressEventHandler* Progress;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

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.
Current Gets the current amount of work done by the operation. This is always less than or equal to UpperBound.
Message 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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ManagementOperationObserver Class | ManagementOperationObserver Members | System.Management Namespace

Show: