ASP.NET Webフォームページでasync void
メソッドを正常に使用しました。私は、Webユーザーコントロールに同じ方法を使用して、async="true"
設定でページにこのWebユーザーコントロールを配置しようとしたときにしかし、私はこのエラーを取得しておいてください。ASP.NETユーザーコントロールで非同期メソッドを無効にすることはできますか?
An asynchronous operation cannot be started at this time. Asynchronous operations may only be started within an asynchronous handler or module or during certain events in the Page lifecycle. If this exception occurred while executing a Page, ensure that the Page is marked <%@ Page Async="true" %>.
そこで質問があり、することができますvoid async
メソッドはWebユーザーコントロールで使用され、非同期対応のWebフォームページに組み込まれていますか?