ErrorContainer.SetPropertyError 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: System.String
Name of the property. - errorDescription
- Type: System.String
The error description. - isSoftError
- Type: System.Boolean
if set to true the error is considered 'soft', which means it's cleared after it's been read.
See Also