IOutputChannelStore.GetChannelsAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.