| title | Platform::WrongThreadException Class | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 12/30/2016 | ||
| ms.technology | cpp-windows | ||
| ms.topic | reference | ||
| f1_keywords |
|
||
| dev_langs |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | c193f97e-0392-4535-a4c4-0711e4e4a836 | ||
| author | ghogen | ||
| ms.author | ghogen | ||
| ms.workload |
|
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