Part 31 :- Event Based Asynchronous Programming Patterns in .Net | asynchronous Programming in C#

preview_player
Показать описание
•Event-based Asynchronous Pattern (EAP) :-

•Which is the event-based legacy model for providing asynchronous behavior.

•A class that supports the Event-based Asynchronous Pattern will have one or more methods named MethodNameAsync.

• These methods may mirror synchronous versions, which perform the same operation on the current thread.

•The class may also have a MethodNameCompleted event and it may have a MethodNameAsyncCancel (or simply CancelAsync) method.

•Basically, this pattern enforces a pair of methods and an event to collaborate and help the application execute a thread asynchronously

Support Us

#csharp #multithread #csharpprogramming
Рекомендации по теме