Uredi

Deli z drugimi prek


ManagementOperationObserver.Progress Event

Definition

Occurs to indicate the progress of an ongoing operation.

public:
 event System::Management::ProgressEventHandler ^ Progress;
public event System.Management.ProgressEventHandler Progress;
member this.Progress : System.Management.ProgressEventHandler 
Public Custom Event Progress As ProgressEventHandler 
Public Event Progress As ProgressEventHandler 

Event Type

Remarks

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.

.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.

Applies to