System::ComponentModel::ProgressChangedEventArgs class

ProgressChangedEventArgs class

An instance of this class is passed as the argument on to the ProgressChangedEventHandler delegate. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class ProgressChangedEventArgs : public System::EventArgs

Methods

MethodDescription
get_ProgressPercentage() constGets the asynchronous task progress percentage.
get_UserState() constGets a unique user state.
ProgressChangedEventArgs(int, System::SharedPtr<System::Object>)Constructor.

Fields

FieldDescription
static EmptyA static member that represents an “empty” EventArgs shared pointer (null-pointer).

See Also