public static void BindService(ServiceBinderBase serviceBinder, PolicyBasedRoutingService.PolicyBasedRoutingServiceBase 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 latest version available for the \u003ccode\u003ePolicyBasedRoutingService\u003c/code\u003e is 2.9.0, but this page is referencing version 2.4.0, with links to prior versions as far back as 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePolicyBasedRoutingService\u003c/code\u003e class allows for flexible routing policies for Layer 4 traffic within the Network Connectivity v1 API in GCP.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyBasedRoutingService\u003c/code\u003e class includes methods to \u003ccode\u003eBindService\u003c/code\u003e for registering service definitions with a server, and for registering service methods with a service binder for custom binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyBasedRoutingService\u003c/code\u003e class inherits from the object class, and also includes members of the inherited object class such as GetHashCode, GetType, MemberwiseClone, and ToString.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the PolicyBasedRoutingService is \u003ccode\u003eGoogle.Cloud.NetworkConnectivity.V1\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.NetworkConnectivity.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]