DynamicCommand Constructor

Definition

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.

Applies to