Click or drag to resize

ValidationResultBaseReportCustomFailure Method (IConfiguration, String, 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 virtual void ReportCustomFailure(
	IConfiguration configuration,
	string itemType,
	MFIdentifier item,
	string message,
	Nullable<bool> required
)

Parameters

configuration
Type: MFiles.VAF.ConfigurationIConfiguration
The configuration that is being validated.
itemType
Type: SystemString
Custom type identifier string 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