All rules
CA2017Reliability Enabled by default: As warning

Parameter count mismatch

Parameter count mismatch

Microsoft docs

Description

Number of parameters supplied in the logging message template do not match the number of named placeholders.

Cause

The number of parameters supplied in the logging message template does not match the number of named placeholders.

How to fix violations

Match the number of placeholders in the template format with the number of passed arguments.

When to suppress

Do not suppress a warning from this rule.

Group results
0 yes 0 no
ConsensusNone (disabled)
Severity preference (yes voters)
Suggestion0
Warning0
Error0