Share via


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: Find Out More About an Exception with the Exception Assistant

Reference

MarshalDirectiveException

Concepts

Using the MarshalAsAttribute Attribute