ErrorContainerAppendPropertyError Method (String, String, String) |
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
)
Public Sub AppendPropertyError (
propertyName As String,
errorDescription As String,
lineSeparator As String
)
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.
Remarks To remove an error message for a property, call SetPropertyError with an empty string as error message.
Always logs a hard error
See Also