title: Using the ContactPicker contract when snapped
body: <p>Can I use the <a href="http://msdn.microsoft.com/library/windows/apps/BR224913" rel="nofollow">ContactPicker</a> contract when the app is snapped?</p>
  
  <pre><code>var picker = new Windows.ApplicationModel.Contacts.ContactPicker();
  picker.CommitButtonText = "Select";
  picker.SelectionMode = Windows.ApplicationModel.Contacts.ContactSelectionMode.Fields;
  picker.DesiredFields.Add(Windows.ApplicationModel.Contacts.KnownContactField.Email);
  var contactInformation = await picker.PickSingleContactAsync();
  </code></pre>
  
  <p>The above code works when in fullscreen but throws the following exception on the call to PickSingleContactAsync() when snapped to the side of the screen:</p>
  
  <blockquote>
    <p>System.Runtime.InteropServices.COMException was unhandled by user code</p>
    
    <p>HResult=-2147467259   </p>
    
    <p>Message=Error HRESULT E_FAIL has been returned from a call to a COM component.   </p>
    
    <p>Source=mscorlib</p>
    
    <p>ErrorCode=-2147467259  </p>
    
    <p>StackTrace:
           at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task  task)
           at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
           at TouchToneDtmf.MainPage.d__e.MoveNext()
    in
    d:\Users\Foo\MainPage.xaml.cs:line
    556   InnerException:</p>
  </blockquote>