/// <summary>
 /// This is a wrapper to make saving the ticket asynchronous.
 /// </summary>
 /// <returns>IAsyncOperation so that this method is:  
 ///     1) awaitable in C#.
 ///     2) consumed as a WinJS.promise on which we can then use .then() or .done().</returns>
 public IAsyncAction SaveTicketAsync(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequest request, object printerExtensionContext)
 {
     return AsyncInfo.Run(async (o) =>
     {
         await Task.Run(() =>
         {
             request.Save(printerExtensionContext);
         });
     });
 }