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.

Syntax

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

Remarks

For more information, see the COMException.

Requirements

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: platform.winmd

See Also

Platform::COMException Class