The current thread used to have an apartment state of %1$s, but the application has CoUnitialized this thread and it is now ...

The current thread used to have an apartment state of %1$s, but the application has CoUnitialized this thread and it is now %2$s. This may cause calls on RuntimeCallableWrappers representing some COM components to fail and may also cause COM component that are not multi-threaded to be accessed from multiple threads at the same time which can cause corruption or data loss.