DynamicCommand Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DynamicCommand class.
public DynamicCommand (Microsoft.VisualStudio.Extensibility.VisualStudioExtensibility extensibility, Microsoft.VisualStudio.RpcContracts.Commands.CommandMetadata metadata, Microsoft.VisualStudio.Extensibility.Commands.CommandCallbackAsync executeCommandCallback);
new Microsoft.VisualStudio.Extensibility.Commands.DynamicCommand : Microsoft.VisualStudio.Extensibility.VisualStudioExtensibility * Microsoft.VisualStudio.RpcContracts.Commands.CommandMetadata * Microsoft.VisualStudio.Extensibility.Commands.CommandCallbackAsync -> Microsoft.VisualStudio.Extensibility.Commands.DynamicCommand
Public Sub New (extensibility As VisualStudioExtensibility, metadata As CommandMetadata, executeCommandCallback As CommandCallbackAsync)
Parameters
- extensibility
- VisualStudioExtensibility
Extensibility point to be used for command execution.
- metadata
- CommandMetadata
Metadata defining to the command.
- executeCommandCallback
- CommandCallbackAsync
Callback invoked when the command is executed.