Click or drag to resize
CustomProcessorBase.PreprocessDeserializedDocument Method
Amends document loaded from file system before it is processed by InfoDeserializer.

Namespace: CMS.ContinuousIntegration.Internal
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 12.0.0
Syntax
C#
public abstract void PreprocessDeserializedDocument(
	CustomProcessorResult processorResult,
	XmlDocument document,
	StructuredLocation structuredLocation
)

Parameters

processorResult
Type: CMS.ContinuousIntegration.Internal.CustomProcessorResult
Object carrying information of ongoing deserialization.
document
Type: System.Xml.XmlDocument
XML file loaded from the file system.
structuredLocation
Type: CMS.ContinuousIntegration.Internal.StructuredLocation
Location of object's main file and its additional parts in repository.

Implements

ICustomProcessor.PreprocessDeserializedDocument(CustomProcessorResult, XmlDocument, StructuredLocation)
Remarks
In case the document is in invalid state, FailedFields and/or FailedMappings should be updated in order to stop object from being set into DB in invalid state.

The method should never throw an exception.

See Also