Initializes a new instance ofClientBaseclass that
throwsNotImplementedExceptionupon invocation of any RPC.
This constructor is only provided to allow creation of test doubles
for client classes (e.g. mocking requires a parameterless constructor).
Creates a new client that sets host field for calls explicitly.
gRPC supports multiple "hosts" being served by a single server.
By default (if a client was not created by calling this method),
hostnullwith the meaning "use default host" is used.
[[["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\u003eThis document outlines the \u003ccode\u003eClientBase<T>\u003c/code\u003e class, a generic base class used for creating client-side stubs in gRPC.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClientBase<T>\u003c/code\u003e inherits from \u003ccode\u003eClientBase\u003c/code\u003e and offers multiple constructors for initializing a new instance, including options for test doubles, specifying a \u003ccode\u003eCallInvoker\u003c/code\u003e, or a \u003ccode\u003eChannelBase\u003c/code\u003e for remote call invocation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClientBase<T>\u003c/code\u003e class includes an abstract method, \u003ccode\u003eNewInstance(ClientBase.ClientBaseConfiguration configuration)\u003c/code\u003e, which requires derived classes to implement a method for creating a new client instance from a given configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes a \u003ccode\u003eWithHost(string host)\u003c/code\u003e method, which creates a new client and explicitly sets the host field for calls, offering control over the target server for gRPC services.\u003c/p\u003e\n"]]],[],null,[]]