Initializes a new instance of the MessageCondition class; using the specified message property and comparison value.
The comparison type is Equal, and the match is case sensitive.
| C# | Visual Basic |
public MessageCondition( MessageProperty property, string comparisonValue )
Public Sub New ( _ property As MessageProperty, _ comparisonValue As String _ )
- property (MessageProperty)
- The message property to test.
- comparisonValue (String)
- The search string containing the match criteria.