Troubleshooting Exceptions: System.Runtime.InteropServices.MarshalDirectiveException
The exception that is thrown by the marshaler when it encounters a MarshalAsAttribute it does not support.
See Also
MarshalDirectiveException
How to: Use the Exception Assistant
c13e741c-3ebb-4b36-9dbb-f2abbfe154f0