OnInvalidUserCode(ref CallerInfo, LoggingTypeSource, string, params object[])
Called when a logging component detects a precondition violation that probably stems from user-written code.
Declaration
void OnInvalidUserCode(ref CallerInfo callerInfo, LoggingTypeSource source, string message, params object[] args)Parameters
| Type | Name | Description |
|---|---|---|
| CallerInfo | callerInfo | The location of the code that performed the invalid call, or an empty instance if the information is not available. |
| LoggingTypeSource | source | The related LoggingTypeSource, or |
| string | message | The error message format string. |
| object[] | args | The arguments of the format string, or |