Platform::WrongThreadException Class

Platform::WrongThreadException Class


Thrown when a thread calls by way of an interface pointer for a proxy object that doesn't belong to the thread's apartment.

public ref class WrongThreadException : COMException,    IException,    IPrintable,    IEquatable

For more information, see the COMException.


Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: platform.winmd

© 2016 Microsoft