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"]],[["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."],[[["The 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."],["TargetInstances is a static class within the Google.Cloud.Compute.V1 namespace, used for managing target instances within the Google Cloud Compute service."],["The TargetInstances class inherits from the .NET Object class and includes methods for server-side service binding, such as `BindService`."],["There are two overloaded `BindService` methods, one that takes a `TargetInstances.TargetInstancesBase` and returns a `ServerServiceDefinition`, and one that takes a `ServiceBinderBase` and `TargetInstances.TargetInstancesBase` that returns void."],["The `TargetInstancesBase` object that is passed into the `BindService` methods holds the logic that the server will use."]]],[]]