PrinterAlert Constructor (AlertCondition, AlertDestination, Boolean, Boolean, String, Int32, Boolean, String)
             | 
          
        
         
            Creates an instance of a PrinterAlert object, including the printer alert text.
            
 
    Namespace: 
   Zebra.Sdk.Printer
    Assembly:
   SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntaxpublic PrinterAlert(
	AlertCondition condition,
	AlertDestination destination,
	bool onSet,
	bool onClear,
	string destinationAddress,
	int port,
	bool quelling,
	string alertText
)
Public Sub New ( 
	condition As AlertCondition,
	destination As AlertDestination,
	onSet As Boolean,
	onClear As Boolean,
	destinationAddress As String,
	port As Integer,
	quelling As Boolean,
	alertText As String
)
public:
PrinterAlert(
	AlertCondition^ condition, 
	AlertDestination^ destination, 
	bool onSet, 
	bool onClear, 
	String^ destinationAddress, 
	int port, 
	bool quelling, 
	String^ alertText
)
Parameters
- condition
 - Type: Zebra.Sdk.SettingsAlertCondition
The printer condition that will trigger the alert. - destination
 - Type: Zebra.Sdk.SettingsAlertDestination
The destination that the alert will be sent to. - onSet
 - Type: SystemBoolean
If true, the alert will be triggered when the condition occurs. - onClear
 - Type: SystemBoolean
If true, the alert will be triggered when the condition is cleared. - destinationAddress
 - Type: SystemString
The destination address, if the destination requires one. - port
 - Type: SystemInt32
The destination port, if the destination requires one. - quelling
 - Type: SystemBoolean
If true, the alert is quelled. - alertText
 - Type: SystemString
The text received from the printer. 
See Also