Reference documentation and code samples for the Cloud Pub/Sub v1 API class Subscriber.
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.
[[["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 reference documentation for the \u003ccode\u003eSubscriber\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API, specifically for .NET development, including the latest version 3.23.0 and a history of previous versions dating back to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubscriber\u003c/code\u003e class is used by applications to interact with subscriptions and consume messages, either via the \u003ccode\u003ePull\u003c/code\u003e method or by establishing a bi-directional \u003ccode\u003eStreamingPull\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubscriber\u003c/code\u003e class inherits from the .NET \u003ccode\u003eobject\u003c/code\u003e class, as shown in the inheritance chain, and the page shows methods, such as \u003ccode\u003eBindService\u003c/code\u003e, that allows for the creation and registration of service definitions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method, which is used to register the service with a server or customize service binding logic, is detailed with its parameters and return types explained.\u003c/p\u003e\n"],["\u003cp\u003eThe current version of the documentation is for version 3.17.0, and is accessed via the \u003ccode\u003e/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.17.0/Google.Cloud.PubSub.V1.Subscriber\u003c/code\u003e path.\u003c/p\u003e\n"]]],[],null,[]]