public static void BindService(ServiceBinderBase serviceBinder, Publisher.PublisherBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters
Name
Description
serviceBinder
Grpc.Core.ServiceBinderBase
Service methods will be bound by calling AddMethod on this object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eGoogle.Cloud.PubSub.V1.Publisher\u003c/code\u003e class, which is used to manipulate topics and send messages in Google Cloud Pub/Sub.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.23.0, and the page lists a comprehensive range of previous versions, from 3.22.0 down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublisher\u003c/code\u003e class inherits from \u003ccode\u003eSystem.Object\u003c/code\u003e and includes inherited members such as \u003ccode\u003eToString()\u003c/code\u003e, \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eMemberwiseClone()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page details the \u003ccode\u003eBindService\u003c/code\u003e methods, which are used to create and register service definitions for server-side handling, with or without implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods require a \u003ccode\u003eserviceImpl\u003c/code\u003e of type \u003ccode\u003ePublisher.PublisherBase\u003c/code\u003e, or a \u003ccode\u003eserviceBinder\u003c/code\u003e of type \u003ccode\u003eGrpc.Core.ServiceBinderBase\u003c/code\u003e in addition to \u003ccode\u003eserviceImpl\u003c/code\u003e for customized binding logic.\u003c/p\u003e\n"]]],[],null,[]]