A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/uwp/cpp-ref-for-winrt/error-handling/hresult-wrong-thread below:

winrt::hresult_wrong_thread struct (C++/WinRT) - Windows UWP applications

winrt::hresult_wrong_thread struct (C++/WinRT)

In this article

A type derived from winrt::hresult_error, representing an RPC_E_WRONG_THREAD HRESULT error code. Also see the winrt::hresult_error topic to learn about the members that are also available to winrt::hresult_wrong_thread.

Syntax
struct hresult_wrong_thread : winrt::hresult_error
Requirements

Minimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)

Namespace: winrt

Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)

Constructors hresult_wrong_thread::hresult_wrong_thread constructor

Initializes a new instance of the hresult_wrong_thread struct with a copy of the input data.

Syntax
hresult_wrong_thread() noexcept;
hresult_wrong_thread(winrt::hstring const& message) noexcept;
hresult_wrong_thread(winrt::hresult_error::from_abi_t) noexcept
Parameters

message An informative string to help developers to correct the reported error condition.

See also

Additional resources

In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4