Udostępnij za pośrednictwem


ICommandSetProvider.ActivateCommandSetAsync Metoda

Definicja

Przeciążenia

ActivateCommandSetAsync(CancellationToken)

Wskazuje, że polecenia w tym zestawie są obecnie w zakresie i powinny monitorować stan i raportować aktualizacje klienta za pośrednictwem programu IUpdateReceiver.

ActivateCommandSetAsync(Update, CancellationToken)

Wskazuje, że polecenia w tym zestawie są obecnie w zakresie i powinny monitorować stan i raportować aktualizacje klienta za pośrednictwem programu IUpdateReceiver.

ActivateCommandSetAsync(CancellationToken)

Wskazuje, że polecenia w tym zestawie są obecnie w zakresie i powinny monitorować stan i raportować aktualizacje klienta za pośrednictwem programu IUpdateReceiver.

public:
 System::Threading::Tasks::Task ^ ActivateCommandSetAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task ActivateCommandSetAsync(System.Threading.CancellationToken cancellationToken);
abstract member ActivateCommandSetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ActivateCommandSetAsync (cancellationToken As CancellationToken) As Task

Parametry

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Zadanie śledzenia stanu wywołań asynchronicznych.

Dotyczy

ActivateCommandSetAsync(Update, CancellationToken)

Wskazuje, że polecenia w tym zestawie są obecnie w zakresie i powinny monitorować stan i raportować aktualizacje klienta za pośrednictwem programu IUpdateReceiver.

public System.Threading.Tasks.Task ActivateCommandSetAsync(Microsoft.VisualStudio.RpcContracts.Commands.Update initialCommandStates, System.Threading.CancellationToken cancellationToken);
abstract member ActivateCommandSetAsync : Microsoft.VisualStudio.RpcContracts.Commands.Update * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ActivateCommandSetAsync (initialCommandStates As Update, cancellationToken As CancellationToken) As Task

Parametry

initialCommandStates
Update

Początkowy stan wszystkich właściwości wszystkich poleceń w zestawie poleceń.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Zadanie śledzenia stanu wywołań asynchronicznych.

Dotyczy