Click or drag to resize

PrinterAlert Constructor (AlertCondition, AlertDestination, String, Boolean, Boolean, String, Int32, Boolean)

Creates an instance of a PrinterAlert object, including a Set-Get-Do name.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1989
Syntax
public PrinterAlert(
	AlertCondition condition,
	AlertDestination destination,
	string sgdName,
	bool onSet,
	bool onClear,
	string destinationAddress,
	int port,
	bool quelling
)

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.
sgdName
Type: SystemString
If condition is SGD_SET, the name of the Set-Get-Do to be monitored.
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.
See Also