<PackageReference Include="Grpc.Core.Api" Version="2.76.0" />

Grpc.Core.ChannelBase

public abstract class ChannelBase
Base class for gRPC channel. Channels are an abstraction of long-lived connections to remote servers.
public string Target { get; }

The original target used to create the channel.

protected ChannelBase(string target)

Initializes a new instance of ChannelBase class that connects to a specific host.

public abstract CallInvoker CreateCallInvoker()

Create a new CallInvoker for the channel.

Shuts down the channel cleanly. It is strongly recommended to shutdown the channel once you stopped using it.

protected virtual Task ShutdownAsyncCore()

Provides implementation of a non-virtual public member.