开发者

Whether all operations in WPF is synchronous or asynchronous by default ?

开发者 https://www.devze.com 2023-04-13 03:26 出处:网络
I am new to the WPF. I know that silverlight is asynchronous by default. I want to know whether 开发者_StackOverflowall operations in WPF is synchronous or asynchronous by default ? Silverlight is a d

I am new to the WPF. I know that silverlight is asynchronous by default. I want to know whether 开发者_StackOverflowall operations in WPF is synchronous or asynchronous by default ?


Silverlight is a different (branch of the) framework, and it only has asynchronous versions of most methods.

WPF is part of the base .NET framework and you can use the full range of synchronous library methods as well as the asynchronous versions. For performance the async ones should be favored.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号