WPF-DispatcherObject
#region 程序集 WindowsBase, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 // C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\10.0.9\ref\net10.0\WindowsBase.dll #endregion using System.ComponentModel; namespace System.Windows.Threading { // // 摘要: // Represents an object that is associated with a System.Windows.Threading.Dispatcher. public abstract class DispatcherObject { // // 摘要: // Initializes a new instance of the System.Windows.Threading.DispatcherObject class. protected DispatcherObject(); // // 摘要: // Gets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject // is associated with. // // 返回结果: // The dispatcher. [EditorBrowsable(EditorBrowsableState.Advanced)] public Dispatcher Dispatcher { get; } // // 摘要: // Determines whether the calling thread has access to this System.Windows.Threading.DispatcherObject. // // // 返回结果: // true if the calling thread has access to this object; otherwise, false. [EditorBrowsable(EditorBrowsableState.Never)] public bool CheckAccess(); // // 摘要: // Enforces that the calling thread has access to this System.Windows.Threading.DispatcherObject. // // // 异常: // T:System.InvalidOperationException: // the calling thread does not have access to this System.Windows.Threading.DispatcherObject. [EditorBrowsable(EditorBrowsableState.Never)] public void VerifyAccess(); } }

海阔凭鱼跃,天高任鸟飞,成功没有捷径,唯有努力前行!

浙公网安备 33010602011771号