ErrorContainerAppendPropertyError Method (String, String, String, Boolean) |
Appends the property error to an existing error for that property. Appends the lineSeparator to the existing error first.
Namespace:
SD.Tools.Algorithmia.GeneralDataStructures
Assembly:
SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.16.0406)
Syntax public void AppendPropertyError(
string propertyName,
string errorDescription,
string lineSeparator,
bool isSoftError
)
Public Sub AppendPropertyError (
propertyName As String,
errorDescription As String,
lineSeparator As String,
isSoftError As Boolean
)
Parameters
- propertyName
- Type: SystemString
Name of the property. - errorDescription
- Type: SystemString
The error description. - lineSeparator
- Type: SystemString
The line separator to append to the existing error message. - 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