HubClient.RegisterService(ServiceMoniker, ServiceModuleInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Register a service with an in memory ServiceModuleInfo so that it can be requested via this HubClient object later.
public:
void RegisterService(Microsoft::ServiceHub::Framework::ServiceMoniker ^ moniker, Microsoft::ServiceHub::Utility::ServiceModuleInfo ^ serviceModuleInfo);
public void RegisterService (Microsoft.ServiceHub.Framework.ServiceMoniker moniker, Microsoft.ServiceHub.Utility.ServiceModuleInfo serviceModuleInfo);
member this.RegisterService : Microsoft.ServiceHub.Framework.ServiceMoniker * Microsoft.ServiceHub.Utility.ServiceModuleInfo -> unit
Public Sub RegisterService (moniker As ServiceMoniker, serviceModuleInfo As ServiceModuleInfo)
Parameters
- moniker
- ServiceMoniker
The moniker of the service to register.
- serviceModuleInfo
- ServiceModuleInfo
The information related to the service being registered.