CorrectableMessageAddCorrection Method (String, Int32, FuncBoolean, CorrectionActionType) | 
 
            Adds a new correction with the parameter specified and the correction func specified. If correctionFunc is not null, this message has to have
            CorrectionsAreChoices set to true
            
 
    Namespace: 
   SD.LLBLGen.Pro.ApplicationCore.MessageReporting
    Assembly:
   SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntaxpublic CorrectableMessage AddCorrection(
	string description,
	int sortOrder,
	Func<bool> correctionFunc,
	CorrectionActionType actionType = CorrectionActionType.None
)
Public Function AddCorrection ( 
	description As String,
	sortOrder As Integer,
	correctionFunc As Func(Of Boolean),
	Optional actionType As CorrectionActionType = CorrectionActionType.None
) As CorrectableMessage
Parameters
- description
 - Type: SystemString
The description. - sortOrder
 - Type: SystemInt32
The sort order. - correctionFunc
 - Type: SystemFuncBoolean
The correction func. - actionType (Optional)
 - Type: SD.LLBLGen.Pro.ApplicationCoreCorrectionActionType
Type of the action. 
Return Value
Type: 
CorrectableMessage
            this instance
            
See Also