ICommandSetProvider 接口

定义

提供一种方法来公开一组命令。

public interface class ICommandSetProvider
public interface ICommandSetProvider
type ICommandSetProvider = interface
Public Interface ICommandSetProvider

方法

ActivateCommandSetAsync(CancellationToken)

指示此集中的命令当前在范围内,并且应通过在上监视客户端的状态和报告更新 IUpdateReceiver

DeactivateCommandSetAsync(CancellationToken)

指示此集中的命令当前超出范围。

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

调用以执行命令。

适用于