Upravit

Sdílet prostřednictvím


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

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

Syntax

struct hresult_illegal_method_call : 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

Constructor Description
hresult_illegal_method_call::hresult_illegal_method_call constructor Initializes a new instance of the hresult_illegal_method_call struct with a copy of the input data.

hresult_illegal_method_call::hresult_illegal_method_call constructor

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

Syntax

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

Parameters

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

See also