public static void BindService(ServiceBinderBase serviceBinder, ProfilerService.ProfilerServiceBase 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-08-28 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eProfilerService\u003c/code\u003e class within the Google Cloud Profiler v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProfilerService\u003c/code\u003e class is designed to manage continuous profiling data from agents running in the cloud or from offline profiling data providers.\u003c/p\u003e\n"],["\u003cp\u003eThe primary methods documented are \u003ccode\u003eBindService\u003c/code\u003e, with overloads for creating and registering service definitions, which are intended for internal use within profiler agents.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented is 2.6.0, with links to documentation for previous versions ranging from 2.5.0 down to 1.0.0, all of which are part of the \u003ccode\u003eGoogle.Cloud.Profiler.V2\u003c/code\u003e namespace and assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProfilerService\u003c/code\u003e class inherits from the base .NET \u003ccode\u003eobject\u003c/code\u003e class, and the documentation also lists the members inherited from said object class, such as \u003ccode\u003eGetHashCode\u003c/code\u003e and \u003ccode\u003eGetType\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Profiler v2 API - Class ProfilerService (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerService)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.5.0/Google.Cloud.Profiler.V2.ProfilerService)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.4.0/Google.Cloud.Profiler.V2.ProfilerService)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.3.0/Google.Cloud.Profiler.V2.ProfilerService)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.2.0/Google.Cloud.Profiler.V2.ProfilerService)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.1.0/Google.Cloud.Profiler.V2.ProfilerService)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.0.0/Google.Cloud.Profiler.V2.ProfilerService)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.2.0/Google.Cloud.Profiler.V2.ProfilerService)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.1.0/Google.Cloud.Profiler.V2.ProfilerService)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.0.0/Google.Cloud.Profiler.V2.ProfilerService) \n\n public static class ProfilerService\n\nReference documentation and code samples for the Cloud Profiler v2 API class ProfilerService.\n\nManage the collection of continuous profiling data provided by profiling\nagents running in the cloud or by an offline provider of profiling data.\n\n**The APIs listed in this service are intended for use within our profiler\nagents only.** \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ProfilerService \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Profiler.V2](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Profiler.V2.dll\n\nMethods\n-------\n\n### BindService(ProfilerServiceBase)\n\n public static ServerServiceDefinition BindService(ProfilerService.ProfilerServiceBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, ProfilerServiceBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, ProfilerService.ProfilerServiceBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]