VirtualUserScript Warn Method (String, String, String)C# API
Writes a warning message and an image link to the VU event log, specifying an identifier which appears in the ID column.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.5.5.77
Syntax

public void Warn(
	string id,
	string info,
	string imagePath
)

Parameters

id
Type: System String
the warning identifier, which appears in the ID column
info
Type: System String
an warning message which appears in the Info column
imagePath
Type: System String
the path to an image file (such as a png or bmp). The path should be a relative path.
Remarks

A warning message is written to the VU event log, and then the event log is flushed. The image must be contained within the run directory (as returned by RunPath), and the path passed should be relative to this path.
See Also