VirtualUser Pre Method C# API
This method is called before any scripts are executed.

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

protected virtual void Pre()
Remarks

Override this method in your custom Virtual User if you have code which should be run only once, before any scripts are executed.

Caution note Caution
This method initialises logging systems. If you override this method in a custom Virtual User, then a call to base.Pre()must be made and must occur before any code that may cause an exception or write to a log.

See Also