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.
[[["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 page provides documentation for the \u003ccode\u003ePublisher\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e namespace, which is used to manage topics and send messages within the Google Cloud Pub/Sub service.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.23.0, with a comprehensive list of previous versions dating back to 2.3.0, allowing you to browse the documentation for any particular version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublisher\u003c/code\u003e class inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class, including \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePublisher\u003c/code\u003e class offers two \u003ccode\u003eBindService\u003c/code\u003e methods, one for creating a server service definition and another for registering service methods with a service binder.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods require an object implementing the server-side handling logic, represented by \u003ccode\u003ePublisher.PublisherBase\u003c/code\u003e, and either a service definition or service binder for registration.\u003c/p\u003e\n"]]],[],null,[]]