'Declaration
Public Event ComputePageCountCompleted As System.ComponentModel.AsyncCompletedEventHandler
'Usage
Dim instance As WorkbookPrintDocument Dim handler As System.ComponentModel.AsyncCompletedEventHandler AddHandler instance.ComputePageCountCompleted, handler
public event System.ComponentModel.AsyncCompletedEventHandler ComputePageCountCompleted
public event ComputePageCountCompleted: System.ComponentModel.AsyncCompletedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.ComponentModel.AsyncCompletedEventHandler* ComputePageCountCompleted
public: event System.ComponentModel.AsyncCompletedEventHandler^ ComputePageCountCompleted
The event handler receives an argument of type System.ComponentModel.AsyncCompletedEventArgs containing data related to this event. The following AsyncCompletedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancelled | |
Error | |
UserState |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2