Skip to content

OutputParameterAttribute

OutputParameterAttribute declares an expected output parameter value that downstream tooling can use as metadata.

This is a manual reference page based on the current public contract in xrmghost-attributes, which remains the source of truth until any future generated reference exists.

[OutputParameterAttribute("Result", "true")]
  • OutputParameterAttribute(string name, string expectedValueJson)
  • Name — output parameter name.
  • ExpectedValueJson — JSON-shaped expected value.
  • The current public constructor stores the provided values directly.
  • The attribute describes an expected result shape; it does not enforce that a plugin actually produces that value.
  • Schema validation is left to whichever consumer reads the metadata.

Use this attribute when tests or generated scenarios benefit from a predeclared expected output payload.