[UWP] [C#] await Dispatcher.RunAsync(CoreDispatcherPriority.Normal,()=& gt; {lock(this){是什么意思? [英] [UWP][C#]What is the meaning of await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { lock (this) {
问题描述
您好
我想知道这段代码的含义是什么。我正在尝试显示附近的BLE设备
await Dispatcher.RunAsync(CoreDispatcherPriority.Normal,()=>
; {
lock(this)
{
........ ...............
}
}
Hi Shikhar,
请查看下面的文章,因为它有详细解释。希望这对你有帮助。
Hi
I wanted to what is the meaning of this piece of code. I am trying to display nearby BLE devices
await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
{
lock (this)
{
.......................
}
}
Hi Shikhar,
Please look into the below article as it has a details explanation. Hope this will help you.
这篇关于[UWP] [C#] await Dispatcher.RunAsync(CoreDispatcherPriority.Normal,()=& gt; {lock(this){是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!