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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for