官方解释连接:https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.threading.dispatcher.invoke?redirectedfrom=MSDN&view=netframework-4.7.2