Shuts down the channel cleanly. It is strongly recommended to shutdown
the channel once you stopped using it.
Returns
Type
Description
Task
Remarks
Guidance for implementors:
This method doesn't wait for all calls on this channel to finish (nor does
it have to explicitly cancel all outstanding calls). It is user's responsibility to make sure
all the calls on this channel have finished (successfully or with an error)
before shutting down the channel to ensure channel shutdown won't impact
the outcome of those remote calls.
ShutdownAsyncCore()
protected virtual async Task ShutdownAsyncCore()
Provides implementation of a non-virtual public member.
[[["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-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eChannelBase\u003c/code\u003e is an abstract base class in the \u003ccode\u003eGrpc.Core\u003c/code\u003e namespace for managing long-lived connections to remote gRPC servers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChannelBase\u003c/code\u003e constructor initializes a new channel instance that connects to a specified target host, which is a string identifying the channel's destination.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTarget\u003c/code\u003e property provides read-only access to the original target string that was used during the channel's creation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateCallInvoker()\u003c/code\u003e is an abstract method used to create a new \u003ccode\u003eCallInvoker\u003c/code\u003e instance that is used to invoke remote calls on the channel.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShutdownAsync()\u003c/code\u003e method is used to cleanly shut down the channel and it's important that users ensure that all calls on the channel have completed before initiating the shutdown.\u003c/p\u003e\n"]]],[],null,[]]