C#的异步编程模型
Task-based Asynchronous Pattern(TAP)
TAP is based on the System.Threading.Tasks.Task
and System.Threading.Tasks.Task
Event-based Asynchronous Pattern(EAP)
Asynchronous method is end with Async - event handler end with EventHandler - event arguments end with EventArgs from AsyncCompletedEventArgs
Asynchronous Programming Model(APM)
Asynchronous operation uses IAsyncResult design pattern is implemented as two methods named Begin OperationName and End OperationName that begin and end the asynchronous operation OperationName respectively.