Troubleshooting Exceptions: System.Runtime.InteropServices.SafeArrayTypeMismatchException 

The exception that is thrown when the type of the incoming SAFEARRAY does not match the type specified in the managed signature.

See Also

Tasks

How to: Find Out More About an Exception with the Exception Assistant

Reference

SafeArrayTypeMismatchException