{"width":"100%","categories":["VB.NET"],"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","title":"VB\u3000.NET4.5 Async/Await Cheat Sheet","author_url":"https://blog.hatena.ne.jp/mk3008net/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmk3008net.hatenablog.com%2Fentry%2F2015%2F05%2F24%2F200135\" title=\"VB\u3000.NET4.5 Async/Await Cheat Sheet - .NET\u3067\u4f5c\u308b\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-05-24 20:01:35","description":"Async \u304a\u3088\u3073 Await \u3092\u4f7f\u7528\u3057\u305f\u975e\u540c\u671f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 (C# \u304a\u3088\u3073 Visual Basic) \u8a73\u7d30\u306f\u30ea\u30f3\u30af\u5148\u306e\u901a\u308a\u306e\u305f\u3081\u8a73\u7d30\u306e\u8aac\u660e\u306f\u7701\u304d\u3001\u30ab\u30f3\u30da\u5316\u3059\u308b\u3002 \u975e\u540c\u671f\u30e1\u30bd\u30c3\u30c9\u5b9f\u51e6\u7406 \u5c02\u7528 Public Async Function GetMessageAsync(timer As Integer) As Task(Of String) Dim rtn As String = String.Empty Await Task.Run(Sub() '\u91cd\u3044\u51e6\u7406 Threading.Thread.Sleep(timer) rtn = \"Hello, world\" End Sub) Return \u2026","blog_url":"https://mk3008net.hatenablog.com/","type":"rich","author_name":"mk3008net","height":"190","version":"1.0","blog_title":".NET\u3067\u4f5c\u308b\uff01","url":"https://mk3008net.hatenablog.com/entry/2015/05/24/200135","image_url":null}