Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.88 KB

File metadata and controls

50 lines (38 loc) · 1.88 KB
description title dev_langs ms.date ms.topic keywords ms.workload
A type derived from winrt::hresult_error, representing an E_ACCESSDENIED HRESULT error code.
winrt::hresult_access_denied struct (C++/WinRT)
C++
04/25/2018
language-reference
windows 10, uwp, standard, c++, cpp, winrt, projection, api, reference, hresult, error, code, E_ACCESSDENIED
cplusplus

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

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

Syntax

struct hresult_access_denied : 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_access_denied::hresult_access_denied constructor Initializes a new instance of the hresult_access_denied struct with a copy of the input data.

hresult_access_denied::hresult_access_denied constructor

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

Syntax

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

Parameters

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

See also