DelegateCommandBase(JoinableTaskFactory) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 DelegateCommandBase 類別的新執行個體。
protected:
DelegateCommandBase(Microsoft::VisualStudio::Threading::JoinableTaskFactory ^ jtf);
protected DelegateCommandBase (Microsoft.VisualStudio.Threading.JoinableTaskFactory jtf);
new Microsoft.VisualStudio.PlatformUI.DelegateCommandBase : Microsoft.VisualStudio.Threading.JoinableTaskFactory -> Microsoft.VisualStudio.PlatformUI.DelegateCommandBase
Protected Sub New (jtf As JoinableTaskFactory)
參數
命令的工作處理站。 如果這是非 Null,命令會在引發 CanExecuteChanged 事件之前切換至主執行緒。