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.
Symptoms
A failure HRESULT is returned to COM without the managed method having been called.
Cause
This is most likely due to an incompatible MarshalAsAttribute attribute on one of the parameters.
Resolution
Specify valid MarshalAsAttribute attributes on the parameters.
Effect on the Runtime
This MDA has no effect on the CLR.
Output
An informational message containing the member name, type name, and error message.
Configuration
<mdaConfig>
<assistants>
<invalidMemberDeclaration/>
</assistants>
</mdaConfig>
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for