title | description | ms.date | helpviewer_keywords | ms.assetid | |||||
---|---|---|---|---|---|---|---|---|---|
invalidMemberDeclaration MDA |
Review the invalidMemberDeclaration managed debugging assistant, which is invoked if a failure HRESULT is returned to COM without calling the managed method. |
03/30/2017 |
|
a84dd9a3-d6cf-4824-989a-ecbbf443eeb4 |
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 xref:System.Runtime.InteropServices.MarshalAsAttribute attribute on one of the parameters.
Specify valid xref:System.Runtime.InteropServices.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>
- xref:System.Runtime.InteropServices.MarshalAsAttribute
- Diagnosing Errors with Managed Debugging Assistants
- Interop Marshaling