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

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

構文

struct hresult_no_interface : winrt::hresult_error

必要条件

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

名前空間: winrt

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

コンストラクター

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

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

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

構文

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

パラメーター

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

こちらもご覧ください