Compartir a través de


IOutputChannelStore.GetChannelsAsync(CancellationToken) Method

Definition

Gets all active channels.

public:
 System::Threading::Tasks::ValueTask<System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::RpcContracts::OutputChannel::Channel ^> ^> GetChannelsAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.OutputChannel.Channel>> GetChannelsAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetChannelsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.OutputChannel.Channel>>
Public Function GetChannelsAsync (cancellationToken As CancellationToken) As ValueTask(Of IReadOnlyCollection(Of Channel))

Parameters

cancellationToken
CancellationToken

A cancellation token.

Returns

A collection of channel names.

Applies to