Click or drag to resize

PFSiteRunCodeInPerformanceArea Method

Will automatically start a performance recording/entry if not already started but in that case Entry name will be 'Unknown'.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public static void RunCodeInPerformanceArea(
	PFSite site,
	string areaName,
	PerformanceAreaCode code,
	bool testEnabled = true
)

Parameters

site
Type: Packflow.CorePFSite
The Packflow site.
areaName
Type: SystemString
Name of the area.
code
Type: Packflow.CorePerformanceAreaCode
The code to execute.
testEnabled (Optional)
Type: SystemBoolean
If false, the code will be executed normally, skipping the performance node.
See Also