Share via


DelegateCommandBase(JoinableTaskFactory) Constructor

Definition

Initializes a new instance of the DelegateCommandBase class.

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)

Parameters

jtf
JoinableTaskFactory

The task factory for the command. If this is non-null, the command will switch to the main thread before raising the CanExecuteChanged event.

Applies to