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

Tasks

How to: Use the Exception Assistant

Reference

MarshalDirectiveException

Concepts

Using the MarshalAsAttribute Attribute