ErrorContainerSetPropertyError Method (String, String, Boolean) |
Sets the property error. If an empty errorDescription is passed in, the error information is cleared.
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 SetPropertyError(
string propertyName,
string errorDescription,
bool isSoftError
)
Public Sub SetPropertyError (
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.
See Also