Visual Basic (Declaration) | |
---|---|
Public Event JobEvent() As EventHandler(Of JobEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public event EventHandler<JobEventArgs> JobEvent() |
C++/CLI | |
---|---|
public: event EventHandler<JobEventArgs>^ JobEvent(); |
Refer to Printer.Specifications example.
The event handler receives an argument indicating if the specified job was started or ended as well as other print job information.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family