async and await are the main keywords in asynchronous programming. You can use asynchronous with things such as downloads, uploads etc.
Below example shows you how to get a specific Http Header asynchronously.
https://msdn.microsoft.com/en-us/library/hh191443.aspx
Below example shows you how to get a specific Http Header asynchronously.
- Name of async method by convention ends with async.
- Return type is one of the following,
- Task<TResult>
- Task
- void
- Method has at least one await expression
Resources
https://msdn.microsoft.com/en-us/library/hh191443.aspx
0 comments:
Post a Comment