Creates a Contains condition for a string alert.
Namespace: ININ.IceLib.Statistics.AlertsAssembly: ININ.IceLib.Statistics (in ININ.IceLib.Statistics.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public static StringCondition CreateContainsCondition( string text ) |
Visual Basic |
---|
Public Shared Function CreateContainsCondition ( _ text As String _ ) As StringCondition |
Parameters
- text
- Type: System..::..String
The text.
Return Value
An instance of a StringCondition triggering on a Contains comparison.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The text parameter must not be nullNothingnullptra null reference (Nothing in Visual Basic). |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.