This documentation is archived and is not being maintained.

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.