VirtualUser OnWarn Method C# API
This method is called whenever a warning is written to the VU event log using the Warn(String) or Warn(String, String) methods.

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

protected virtual bool OnWarn(
	string id,
	string info
)

Parameters

id
Type: System String
The warning identifier, which appears in the ID column.
info
Type: System String
A warning message which appears in the Info column.

Return Value

true if the warning should be written to the event log, or false if the error should be ignored.
Remarks

Override this method in your custom Virtual User if you have code which should be run whenever a warning is written to the VU event log.
See Also