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"]],[["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-03-31 UTC."],[[["This webpage provides documentation for the `Google.Cloud.PubSub.V1.Publisher` class, which is used to manipulate topics and send messages in Google Cloud Pub/Sub."],["The 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."],["The `Publisher` class inherits from `System.Object` and includes inherited members such as `ToString()`, `GetHashCode()`, `GetType()`, and `MemberwiseClone()`."],["The page details the `BindService` methods, which are used to create and register service definitions for server-side handling, with or without implementation."],["The `BindService` methods require a `serviceImpl` of type `Publisher.PublisherBase`, or a `serviceBinder` of type `Grpc.Core.ServiceBinderBase` in addition to `serviceImpl` for customized binding logic."]]],[]]