{"id":173,"date":"2012-06-14T17:25:49","date_gmt":"2012-06-14T17:25:49","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/pfxteam\/2012\/06\/14\/using-asyncawait-in-winrt-async-operations\/"},"modified":"2012-06-14T17:25:49","modified_gmt":"2012-06-14T17:25:49","slug":"using-asyncawait-in-winrt-async-operations","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/using-asyncawait-in-winrt-async-operations\/","title":{"rendered":"Using async\/await in WinRT async operations"},"content":{"rendered":"<p>Several weeks ago, I wrote a post for the Windows 8 app developer blog that was all about <a href=\"https:\/\/blogs.msdn.com\/b\/windowsappdev\/archive\/2012\/04\/24\/diving-deep-with-winrt-and-await.aspx\">using await and AsTask to consume WinRT async operations<\/a>.&nbsp; I&#8217;ve now&nbsp;published a follow-up post that&#8217;s all about <a href=\"https:\/\/blogs.msdn.com\/b\/windowsappdev\/archive\/2012\/06\/14\/exposing-net-tasks-as-winrt-asynchronous-operations.aspx\">exposing .NET tasks as WinRT async operation<\/a>.&nbsp; In a sense, you can think about the first post as showing how to convert from WinRT async operations to .NET tasks, and you can think about the second post as showing how to convert from .NET tasks to WinRT async operations.&nbsp; I hope you find them helpful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Several weeks ago, I wrote a post for the Windows 8 app developer blog that was all about using await and AsTask to consume WinRT async operations.&nbsp; I&#8217;ve now&nbsp;published a follow-up post that&#8217;s all about exposing .NET tasks as WinRT async operation.&nbsp; In a sense, you can think about the first post as showing how [&hellip;]<\/p>\n","protected":false},"author":360,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7908],"tags":[7925,36,7909,7912],"class_list":["post-173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pfxteam","tag-net-4-5","tag-async","tag-parallel-extensions","tag-task-parallel-library"],"acf":[],"blog_post_summary":"<p>Several weeks ago, I wrote a post for the Windows 8 app developer blog that was all about using await and AsTask to consume WinRT async operations.&nbsp; I&#8217;ve now&nbsp;published a follow-up post that&#8217;s all about exposing .NET tasks as WinRT async operation.&nbsp; In a sense, you can think about the first post as showing how [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/360"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=173"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/173\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}