ValidationResultBaseReportCustomFailure(IConfiguration, String, MFIdentifier, String, NullableBoolean) Method
Report custom validation failure.
Namespace: MFiles.VAF.ConfigurationAssembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
public virtual void ReportCustomFailure(
IConfiguration configuration,
string itemType,
MFIdentifier item,
string message,
bool? required
)
Parameters
- configuration IConfiguration
- The configuration that is being validated.
- itemType String
- Custom type identifier string of the item.
- item MFIdentifier
- The identifier (name, alias, guid, id) of the failed item.
- message String
- The custom error message
- required NullableBoolean
- Is the reference required, or optional