DelegateCommandBase(JoinableTaskFactory) Constructeur

Définition

Initialise une nouvelle instance de la classe 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)

Paramètres

jtf
JoinableTaskFactory

Fabrique de tâches pour la commande. Si ce n’est pas null, la commande bascule vers le thread main avant de déclencher l’événementCanExecuteChanged.

S’applique à