mscorlib(4.0.0.0) API with additions
ProgressChangedEventArgs.cs
2 
3 namespace System.ComponentModel
4 {
6  [global::__DynamicallyInvokable]
7  [HostProtection(SecurityAction.LinkDemand, SharedState = true)]
9  {
10  private readonly int progressPercentage;
11 
12  private readonly object userState;
13 
16  [SRDescription("Async_ProgressChangedEventArgs_ProgressPercentage")]
17  [global::__DynamicallyInvokable]
18  public int ProgressPercentage
19  {
20  [global::__DynamicallyInvokable]
21  get
22  {
23  return progressPercentage;
24  }
25  }
26 
29  [SRDescription("Async_ProgressChangedEventArgs_UserState")]
30  [global::__DynamicallyInvokable]
31  public object UserState
32  {
33  [global::__DynamicallyInvokable]
34  get
35  {
36  return userState;
37  }
38  }
39 
43  [global::__DynamicallyInvokable]
44  public ProgressChangedEventArgs(int progressPercentage, object userState)
45  {
46  this.progressPercentage = progressPercentage;
47  this.userState = userState;
48  }
49  }
50 }
Definition: __Canon.cs:3
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: EventArgs.cs:9
SecurityAction
Specifies the security actions that can be performed using declarative security.
int ProgressPercentage
Gets the asynchronous task progress percentage.
Provides data for the E:System.ComponentModel.BackgroundWorker.ProgressChanged event.
ProgressChangedEventArgs(int progressPercentage, object userState)
Initializes a new instance of the T:System.ComponentModel.ProgressChangedEventArgs class.