The service that an application uses to manipulate subscriptions and to
consume messages from a subscription via the Pull method or by
establishing a bi-directional stream using the StreamingPull method.
public static void BindService(ServiceBinderBase serviceBinder, Subscriber.SubscriberBase 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\u003eThe webpage provides documentation for the \u003ccode\u003eGoogle.Cloud.PubSub.V1.Subscriber\u003c/code\u003e class across multiple versions, ranging from 2.3.0 to the latest 3.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubscriber\u003c/code\u003e class is used by applications to manage subscriptions and consume messages, either through the \u003ccode\u003ePull\u003c/code\u003e method or the \u003ccode\u003eStreamingPull\u003c/code\u003e method, via a bi-directional stream.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubscriber\u003c/code\u003e class contains two main \u003ccode\u003eBindService\u003c/code\u003e methods that are used for creating and registering service definitions and methods for server-side logic.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.PubSub.V1.Subscriber\u003c/code\u003e is 3.23.0, which is available alongside various earlier versions for access.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e and it is located in the \u003ccode\u003eGoogle.Cloud.PubSub.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]