title: Access Denied (HRESULT 0x80070005) in new ControlChannelTrigger (WinRT)
body: <p>I an in complete despair...</p>
  
  <p>Here's my code:</p>
  
  <pre><code>ControlChannelTrigger theChannel = new ControlChannelTrigger("channelId", 15, ControlChannelTriggerResourceType.RequestHardwareSlot); 
  </code></pre>
  
  <p>which always throws an UnauthorizedAccessException (HRESULT 0x80070005).</p>
  
  <p>Here's a manifest I use</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Package xmlns="http://schemas.microsoft.com/appx/2010/manifest"&gt;
    &lt;Identity Name="cf45d5c8-2936-4d1f-9075-51a87ceb60ba" Publisher="CN=snuk182" Version="1.0.0.0" /&gt;
    &lt;Properties&gt;
      &lt;DisplayName&gt;Applic&lt;/DisplayName&gt;
      &lt;PublisherDisplayName&gt;snuk182&lt;/PublisherDisplayName&gt;
      &lt;Logo&gt;Assets\StoreLogo.png&lt;/Logo&gt;
    &lt;/Properties&gt;
    &lt;Prerequisites&gt;
      &lt;OSMinVersion&gt;6.2.0&lt;/OSMinVersion&gt;
      &lt;OSMaxVersionTested&gt;6.2.0&lt;/OSMaxVersionTested&gt;
    &lt;/Prerequisites&gt;
    &lt;Resources&gt;
      &lt;Resource Language="x-generate" /&gt;
    &lt;/Resources&gt;
    &lt;Applications&gt;
      &lt;Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="Applic.App"&gt;
        &lt;VisualElements DisplayName="Applic" Logo="Assets\Logo.png" SmallLogo="Assets\SmallLogo.png" Description="Applic" ForegroundText="light" BackgroundColor="#464646" ToastCapable="true"&gt;
          &lt;LockScreen Notification="badgeAndTileText" BadgeLogo="ImageResources\badge.png" /&gt;
          &lt;DefaultTile ShowName="allLogos" WideLogo="ImageResources\widelogo.png" /&gt;
          &lt;SplashScreen Image="Assets\SplashScreen.png" /&gt;
        &lt;/VisualElements&gt;
        &lt;Extensions&gt;
          &lt;Extension Category="windows.backgroundTasks" Executable="$targetnametoken$.exe" EntryPoint="Applic.BackgroundTask"&gt;
            &lt;BackgroundTasks&gt;
              &lt;Task Type="controlChannel" /&gt;
            &lt;/BackgroundTasks&gt;
          &lt;/Extension&gt;
        &lt;/Extensions&gt;
      &lt;/Application&gt;
    &lt;/Applications&gt;
    &lt;Capabilities&gt;
      &lt;Capability Name="removableStorage" /&gt;
      &lt;Capability Name="internetClient" /&gt;
    &lt;/Capabilities&gt;
  &lt;/Package&gt;
  </code></pre>
  
  <p>Have not found any answer either here or in web. Have no idea what's going on...</p>