PrinterAlert(AlertCondition, AlertDestination, String, Boolean, Boolean, String, Int32, Boolean) Constructor
|
Creates an instance of a PrinterAlert object, including a Set-Get-Do name.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public PrinterAlert(
AlertCondition condition,
AlertDestination destination,
string sgdName,
bool onSet,
bool onClear,
string destinationAddress,
int port,
bool quelling
)
Public Sub New (
condition As AlertCondition,
destination As AlertDestination,
sgdName As String,
onSet As Boolean,
onClear As Boolean,
destinationAddress As String,
port As Integer,
quelling As Boolean
)
public:
PrinterAlert(
AlertCondition^ condition,
AlertDestination^ destination,
String^ sgdName,
bool onSet,
bool onClear,
String^ destinationAddress,
int port,
bool quelling
)
Parameters
- condition AlertCondition
- The printer condition that will trigger the alert.
- destination AlertDestination
- The destination that the alert will be sent to.
- sgdName String
- If condition is SGD_SET, the name of the Set-Get-Do to be monitored.
- onSet Boolean
- If true, the alert will be triggered when the condition occurs.
- onClear Boolean
- If true, the alert will be triggered when the condition is cleared.
- destinationAddress String
- The destination address, if the destination requires one.
- port Int32
- The destination port, if the destination requires one.
- quelling Boolean
- If true, the alert is quelled.
See Also