public static void Shutdown(this ChannelBase channel, ILogger logger = null)
Shuts down a channel semi-synchronously. This method initially calls Dispose()
if the channel implements IDisposable (e.g. in the case of GrpcChannel)
and then calls ShutdownAsync(). This method does not wait for the task
to complete, but observes any exceptions (whether the task is faulted or canceled), optionally logging
them to logger.
[[["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-05 UTC."],[[["The `ChannelBaseExtensions` class provides extension methods for `ChannelBase`, enhancing its functionality within the context of gRPC in .NET."],["This class inherits from the base `object` class, gaining standard members and methods like `Equals`, `GetHashCode`, and `GetType`."],["The `Shutdown` method allows for the semi-synchronous shutdown of a `ChannelBase` instance, handling disposal and asynchronous shutdown, while providing optional logging of any errors that occur."],["The latest version of this class is version 4.10.0, and previous versions are also available with versions going as low as version 3.2.0."]]],[]]