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 metadata for the service that this pool will be used with. Must not be null.
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-04-17 UTC."],[[["This page provides documentation for the `ChannelPool` class within the Google.Api.Gax.Grpc namespace, specifically within version 4.3.1 of the .NET library."],["The `ChannelPool` class is a thread-safe pool of channels, each connected to potentially different endpoints for the same service and utilizing default application credentials."],["The constructor `ChannelPool(ServiceMetadata)` creates a pool that uses the provided service metadata to configure scopes and self-signed JWT usage."],["The `ShutdownChannelsAsync()` method allows for the asynchronous shutdown of all currently allocated channels, but does not prevent future use of the channel pool."],["The class inherits from `object`, with the standard methods and there associated members."]]],[]]