Click or drag to resize

ValidationResultForValidationReportCustomFailure Method (IConfiguration, MFMetadataStructureItem, MFIdentifier, String, NullableBoolean)

Report custom validation failure.

Namespace:  MFiles.VAF.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public override void ReportCustomFailure(
	IConfiguration configuration,
	MFMetadataStructureItem itemType,
	MFIdentifier item,
	string message,
	Nullable<bool> required
)

Parameters

configuration
Type: MFiles.VAF.ConfigurationIConfiguration
The module configuration that is being validated.
itemType
Type: MFMetadataStructureItem
The metadatastructure item type of the item.
item
Type: MFiles.VAF.ConfigurationMFIdentifier
The identifier (name, alias, guid, id) of the failed item.
message
Type: SystemString
The custom error message
required
Type: SystemNullableBoolean
Is the reference required, or optional
See Also