Open sandboxFocus

Method OnInvalidUserCode

OnInvalidUserCode(ref CallerInfo, string, params object[])

Called when the user code calling Logger or LogActivity is invalid, for example when the formatting string is incorrect or does not match the arguments.

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

Information about the line of code causing the error.

string format

The formatting string of the error message.

object[] args

The arguments.