A pool of channels for the same service, but with potentially different endpoints. Each endpoint
has a single channel. All channels created by this pool use default application credentials.
This class is thread-safe.
The scopes to apply. Must not be null, and must not contain null references. May be empty.
Methods
ShutdownChannelsAsync()
public Task ShutdownChannelsAsync()
Shuts down all the currently-allocated channels asynchronously. This does not prevent the channel
pool from being used later on, but the currently-allocated channels will not be reused.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `ChannelPool` class manages a pool of channels for a service, each with a potentially different endpoint."],["All channels in the pool use default application credentials."],["The `ChannelPool` constructor allows the specification of scopes to be applied to the default application credentials."],["The `ShutdownChannelsAsync()` method asynchronously shuts down all currently allocated channels, allowing the pool to still be used afterward."],["The class `ChannelPool` is thread safe."]]],[]]