Visual Basic (Declaration) | |
---|---|
Public Event ProgressState() As ProgressEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public event ProgressEventHandler ProgressState() |
C++/CLI | |
---|---|
public: event ProgressEventHandler^ ProgressState(); |
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 |
---|---|
Cancel | Gets or Sets a value to abort the current operation. |
Message | Gets the textual message specifying the current operation state. |
Percentage | Gets the current percentage of the progress. |
Please check our Medical Web Viewer demo, located in WinForms.csproj project.
This event is raised regularly during the streaming process to provide information about the current state.
The event give the user a chance to cancel the streaming process using the ProgressEventArgs
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family