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

Jenis yang berasal dari winrt::hresult_error, mewakili kode kesalahan HRESULT E_BOUNDS. Lihat juga topik winrt::hresult_error untuk mempelajari tentang anggota yang juga tersedia untuk winrt::hresult_out_of_bounds.

Sintaks

struct hresult_out_of_bounds : winrt::hresult_error

Persyaratan

SDK minimum yang didukung: Windows SDK versi 10.0.17134.0 (Windows 10, versi 1803)

Namespace: winrt

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

Konstruktor

Konstruktor Deskripsi
konstruktor hresult_out_of_bounds::hresult_out_of_bounds Menginisialisasi instans baru struct hresult_out_of_bounds dengan salinan data input.

konstruktor hresult_out_of_bounds::hresult_out_of_bounds

Menginisialisasi instans baru struct hresult_out_of_bounds dengan salinan data input.

Sintaks

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

Parameter

message String informatif untuk membantu pengembang memperbaiki kondisi kesalahan yang dilaporkan.

Lihat juga