MetalamaAPI documentationFlashtrace APIFlashtraceIFlashtrace­Exception­HandlerOn­Invalid­User­Code
Open sandboxFocus

IFlashtraceExceptionHandler.OnInvalidUserCode Method

OnInvalidUserCode(in CallerInfo, String, Object[])

Method invoked when the user code calling a logging infrastructure method is invalid, e.g. when the formatting string is incorrect or does not match the arguments.

void OnInvalidUserCode(in CallerInfo callerInfo, string format, params object[] args)
Type Name Description
CallerInfo callerInfo

Information about the line of code causing the error.

System.String format

Formatting string of the error message.

System.Object[] args