Calling and Adding Asynchronous Methods
Everyone
- 8 videos | 52m 29s
- Earns a Badge
Asynchronous methods can be called and added to your application. In this course, you'll explore how asynchrony can be added to an application by calling asynchronous methods using Task and add asynchronous methods to a class. You'll begin by learning how to use the Task class, Wait method, and Result property and how to catch exceptions using the Task class. Then you'll discover how to chain tasks together, how to cancel tasks, and how to create a task and add an asynchronous version of a method to an existing class. Finally, you'll discover how to create tasks that return data, how to pass parameters into tasks using explicit and explicit parameters, and how to add cancellation support to your code.
WHAT YOU WILL LEARN
-
Describe how to use the task class, wait method, and result propertyDiscuss how to catch exceptions using the task classDescribe how to chain tasks together using the continuewith methodDiscuss how to cancel a task using cancellationtokensource
-
Describe how to create a task and add an asynchronous version of a method to an existing classDiscuss how to create tasks that return data using task<t>Describe how to pass parameters into tasks using implicit parameters and explicit parametersDiscuss how to add cancellation support to your code
IN THIS COURSE
-
6m 22s
-
6m 15s
-
9m 24s
-
3m 13s
-
5m 27s
-
4m 32s
-
8m 26s
-
8m 51s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.