public static void BindService(ServiceBinderBase serviceBinder, SecurityCenter.SecurityCenterBase 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-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eSecurityCenter\u003c/code\u003e class within the Google Cloud Security Center v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 1.1.0, and an older version (1.0.0) is also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecurityCenter\u003c/code\u003e class inherits from the .NET \u003ccode\u003eobject\u003c/code\u003e class and includes inherited members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method can be used to create a service definition that can be registered with a server, or to register service methods with a service binder.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method requires an object that implements the \u003ccode\u003eSecurityCenterBase\u003c/code\u003e class and, in one of its overloads, requires a \u003ccode\u003eServiceBinderBase\u003c/code\u003e object to bind the service methods.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class SecurityCenter (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SecurityCenter)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.SecurityCenter)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.SecurityCenter) \n\n public static class SecurityCenter\n\nReference documentation and code samples for the Security Command Center v2 API class SecurityCenter.\n\nV2 APIs for Security Center service. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SecurityCenter \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.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nMethods\n-------\n\n### BindService(SecurityCenterBase)\n\n public static ServerServiceDefinition BindService(SecurityCenter.SecurityCenterBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, SecurityCenterBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, SecurityCenter.SecurityCenterBase 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."]]