Share via


ICommandSetProvider Interface

Definition

Provides a way to expose a set of commands.

public interface class ICommandSetProvider
public interface ICommandSetProvider
public interface ICommandSetProvider : Microsoft.VisualStudio.RpcContracts.Commands.IUpdateReceiver
type ICommandSetProvider = interface
type ICommandSetProvider = interface
    interface IUpdateReceiver
Public Interface ICommandSetProvider
Public Interface ICommandSetProvider
Implements IUpdateReceiver
Implements

Methods

ActivateCommandSetAsync(CancellationToken)

Indicates that the commands in this set are currently in scope and should monitor state and report updates to the client over an IUpdateReceiver.

ActivateCommandSetAsync(Update, CancellationToken)

Indicates that the commands in this set are currently in scope and should monitor state and report updates to the client over an IUpdateReceiver.

DeactivateCommandSetAsync(CancellationToken)

Indicates that the commands in this set are currently out of scope.

ExecuteCommandAsync(String, IReadOnlyDictionary<String,Object>, CancellationToken)

Called to execute a command.

ExecuteCommandAsync(UInt16, IReadOnlyDictionary<String,Object>, CancellationToken)

Called to execute a command.

UpdateAsync(Update, CancellationToken)

Sends a batch of property updates to the client.

(Inherited from IUpdateReceiver)

Applies to