ManagementOperationObserver.Progress Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Event Progress As ProgressEventHandler
Public Custom 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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET