ErrorContainerAppendPropertyError Method (String, String, Boolean) |
Appends the property error to an existing error for that property. Appends a newline first.
Namespace:
SD.Tools.Algorithmia.GeneralDataStructures
Assembly:
SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.3.0 (1.3.18.0209)
Syntax public void AppendPropertyError(
string propertyName,
string errorDescription,
bool isSoftError
)
Public Sub AppendPropertyError (
propertyName As String,
errorDescription As String,
isSoftError As Boolean
)
Parameters
- propertyName
- Type: SystemString
Name of the property. - errorDescription
- Type: SystemString
The error description. - isSoftError
- Type: SystemBoolean
if set to the error is considered 'soft', which means it's cleared after it's been read.
Remarks To remove an error message for a property, call SetPropertyError with an empty string as error message.
Overwrites the existing isSoftError flag value of the existing error of the property with the value specified in isSoftError
See Also