A delegate for handling error Events in an application. This delegate allows an application to prompt the user to correct recoverable errors. If a recoverable error occurs and a WarningMessageEventHandler has not been implemented the LinePrinter class will abort the remaining print operations and fire a Status message of SM_Cancel.
To implement a handler add the following code to your application:
LinePrinter.WarningMessageEventEx += new LinePrinter.WarningMessageEventHandler(DisplayWarning);
[Visual Basic]
Public Delegate Sub LinePrinter.WarningMessageEventHandler( _
ByVal source As Object, _
ByVal e As WarningMessageArgs _ )
[C#]
public delegate void LinePrinter.WarningMessageEventHandler(
object source, WarningMessageArgs e
);
source
A pointer to the object that created the event.
e
A StatusMessageArgs class derived from EventArgs. See StatusMessageArgs for information on the extended information passed via this class.
Namespace: Honeywell.Mobility.Print
Assembly: Honeywell.Mobility.Print.LinePrinter.dll