Windows Dev Center

Platform::AccessDeniedException Class

Thrown when access to a resource or feature is denied.

public ref class AccessDeniedException : COMException,

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 Configuring your Windows Store app 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

© 2015 Microsoft