public static void BindService(ServiceBinderBase serviceBinder, RealmsService.RealmsServiceBase 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-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRealmsService\u003c/code\u003e class, part of the Google Cloud Game Services v1 API, groups game server clusters that are interchangeable.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eRealmsService\u003c/code\u003e is 2.2.0, with older versions available from 2.1.0 down to 1.1.0 for use in previous projects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRealmsService\u003c/code\u003e inherits from the .NET \u003ccode\u003eobject\u003c/code\u003e class, with standard object methods, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e being inherited from it.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method is used to create a service definition for server registration, allowing the binding of a RealmsServiceBase implementation to server-side handling logic.\u003c/p\u003e\n"],["\u003cp\u003eAnother version of \u003ccode\u003eBindService\u003c/code\u003e exists to facilitate the registration of service methods with or without implementation, using a ServiceBinderBase object, although this version of the method is experimental.\u003c/p\u003e\n"]]],[],null,["# Game Services v1 API - Class RealmsService (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.RealmsService)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.RealmsService)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.RealmsService)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.RealmsService)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.RealmsService)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.RealmsService)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.RealmsService) \n\n public static class RealmsService\n\nReference documentation and code samples for the Game Services v1 API class RealmsService.\n\nA realm is a grouping of game server clusters that are considered\ninterchangeable. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RealmsService \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.Gaming.V1](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Gaming.V1.dll\n\nMethods\n-------\n\n### BindService(RealmsServiceBase)\n\n public static ServerServiceDefinition BindService(RealmsService.RealmsServiceBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, RealmsServiceBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, RealmsService.RealmsServiceBase 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."]]