check for Windows Runtime type in WeakEventHandler