FrameworkValidatorBaseCreateCorrectableMessage Method |
Creates a new correctable message. Use this method to create a message to append corrections to and dispatch at a later point
Namespace:
SD.LLBLGen.Pro.ApplicationCore.Extensibility
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax protected CorrectableMessage CreateCorrectableMessage(
bool error,
string warningID,
bool correctionsAreChoices,
string messageText,
params string[] messageTextArgs
)
Protected Function CreateCorrectableMessage (
error As Boolean,
warningID As String,
correctionsAreChoices As Boolean,
messageText As String,
ParamArray messageTextArgs As String()
) As CorrectableMessage
Parameters
- error
- Type: SystemBoolean
if set to the message will be an error message, otherwise the message will be a warning message - warningID
- Type: SystemString
The warning identifier. Ignored if error is true. - correctionsAreChoices
- Type: SystemBoolean
if set to corrections added to the created message are choices, otherwise steps - messageText
- Type: SystemString
The message text for the correctable message. - messageTextArgs
- Type: SystemString
The message text args.
Return Value
Type:
CorrectableMessage
a ready to dispatch CorrectableMessage object.
See Also