本文介绍了[UWP] [C#] await Dispatcher.RunAsync(CoreDispatcherPriority.Normal,()=& gt; {lock(this){是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好



我想知道这段代码的含义是什么。我正在尝试显示附近的BLE设备


  await Dispatcher.RunAsync(CoreDispatcherPriority.Normal,()=>

     ;   {

         lock(this)

          {


            ........ ...............


        }


      }


解决方案

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)
                {

                     .......................

                }

           }

解决方案


这篇关于[UWP] [C#] await Dispatcher.RunAsync(CoreDispatcherPriority.Normal,()=& gt; {lock(this){是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 19:17