Calling and Adding Asynchronous Methods

Everyone
  • 8 videos | 52m 29s
  • Earns a Badge
Rating 3.0 of 1 users Rating 3.0 of 1 users (1)
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 property
    Discuss how to catch exceptions using the task class
    Describe how to chain tasks together using the continuewith method
    Discuss how to cancel a task using cancellationtokensource
  • Describe how to create a task and add an asynchronous version of a method to an existing class
    Discuss how to create tasks that return data using task<t>
    Describe how to pass parameters into tasks using implicit parameters and explicit parameters
    Discuss how to add cancellation support to your code

IN THIS COURSE

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.

YOU MIGHT ALSO LIKE

Rating 4.5 of 34 users Rating 4.5 of 34 users (34)
Rating 4.6 of 47 users Rating 4.6 of 47 users (47)