Platform::AccessDeniedException Class

Platform::AccessDeniedException Class


Thrown when access to a resource or feature is denied.

public ref class AccessDeniedException : COMException,    IException,    IPrintable,   IEquatable

If you hit this exception, ensure that you have requested the appropriate capability and made the required declarations in the package manifest of your app. For more information, see Configure a Windows 8.1 app package by using the manifest designer and the COMException class.


Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: platform.winmd

© 2016 Microsoft