public static void BindService(ServiceBinderBase serviceBinder, TargetInstances.TargetInstancesBase 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-08 UTC."],[[["\u003cp\u003eThe latest version of the TargetInstances API is 3.6.0, and there are multiple older versions available, ranging from 1.0.0 to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eTargetInstances is a static class within the Google.Cloud.Compute.V1 namespace, designed for use in .NET development, and it inherits from the base Object class.\u003c/p\u003e\n"],["\u003cp\u003eThe TargetInstances API includes methods to bind a service, either with \u003ccode\u003eBindService(TargetInstances.TargetInstancesBase)\u003c/code\u003e to create a service definition, or \u003ccode\u003eBindService(ServiceBinderBase, TargetInstances.TargetInstancesBase)\u003c/code\u003e to customize service binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods take a \u003ccode\u003eTargetInstancesBase\u003c/code\u003e object as a parameter, which serves as an object implementing the server-side handling logic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method can returns a \u003ccode\u003eServerServiceDefinition\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,[]]