invalidMemberDeclaration MDA

The invalidMemberDeclaration managed debugging assistant (MDA) is activated to report an error that occurs while determining how to marshal the parameters of a member to be called from COM.

A failure HRESULT is returned to COM without the managed method having been called.

This is most likely due to an incompatible MarshalAsAttribute attribute on one of the parameters.

Specify valid MarshalAsAttribute attributes on the parameters.

This MDA has no effect on the CLR.

An informational message containing the member name, type name, and error message.

<mdaConfig>
  <assistants>
    <invalidMemberDeclaration/>
  </assistants>
</mdaConfig>
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft