ProgressEventArgs 类

定义

保存 Progress 事件的事件数据。Holds event data for the Progress event.

public ref class ProgressEventArgs : System::Management::ManagementEventArgs
public class ProgressEventArgs : System.Management.ManagementEventArgs
type ProgressEventArgs = class
    inherit ManagementEventArgs
Public Class ProgressEventArgs
Inherits ManagementEventArgs
继承

属性

Context

获取从触发事件的操作反射回的操作上下文。Gets the operation context echoed back from the operation that triggered the event.

(继承自 ManagementEventArgs)
Current

获取操作已完成的当前工作量。Gets the current amount of work done by the operation. 这总是小于或等于 UpperBoundThis 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.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于