Click or drag to resize

AlertConditionCreateAlertConditionFromName Method

Creates an AlertCondition based on the conditionName.

Namespace:  Zebra.Sdk.Settings
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax
public static AlertCondition CreateAlertConditionFromName(
	string conditionName
)

Parameters

conditionName
Type: SystemString
Name of one of the conditions in AlertCondition.

Return Value

Type: AlertCondition
Based on the string conditionName
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf conditionName is not a valid alert condition.
Remarks
If the conditionName is invalid a ZebraIllegalArgumentException will be thrown.
See Also