使用 IAsyncResult 呼叫非同步方法Calling Asynchronous Methods Using IAsyncResult

.NET Framework 和協力廠商類別程式庫中的型別提供的方法,可讓應用程式在主應用程式執行緒以外的執行緒中執行非同步作業時繼續執行。Types in the .NET Framework and third-party class libraries can provide methods that allow an application to continue executing while performing asynchronous operations in threads other than the main application thread. 下列各節說明並提供示範不同方式的程式碼範例,您可以呼叫使用 IAsyncResult 設計模式的非同步方法。The following sections describe and provide code examples that demonstrate the different ways you can call asynchronous methods that use the IAsyncResult design pattern.

另請參閱See also