winrt::hresult_wrong_thread 構造体 (C++/WinRT)

RPC_E_WRONG_THREAD HRESULT エラー コードを表す winrt::hresult_error から派生した型。 また、winrt::hresult_error トピックを参照して、winrt::hresult_wrong_thread でも使用できるメンバーについて説明します。

構文

struct hresult_wrong_thread : winrt::hresult_error

必要条件

サポートされている最小 SDK: Windows SDK バージョン 10.0.17134.0 (Windows 10、バージョン 1803)

名前空間: winrt

ヘッダー: %WindowsSdkDir%IncludeWindowsTargetPlatformVersion<>\cppwinrt\winrt\base.h (既定で含まれています)

コンストラクター

コンストラクター 説明
hresult_wrong_thread::hresult_wrong_thread コンストラクター 入力データのコピーを使用して 、hresult_wrong_thread 構造体の新しいインスタンスを初期化します。

hresult_wrong_thread::hresult_wrong_thread コンストラクター

入力データのコピーを使用して 、hresult_wrong_thread 構造体の新しいインスタンスを初期化します。

構文

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

パラメーター

message 報告されたエラー状態を開発者が修正するのに役立つ情報文字列。

こちらもご覧ください