资讯

But with WPF, if it is called from a non-UI thread, Environment.UserInteractive will return true, but it will throw an InvalidOperationException ("The calling thread cannot access this object ...