HubClient.UnregisterService(ServiceMoniker) 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.
Unregister a service so that future requests for this service will not use the previously registered ServiceModuleInfo. Attempting to unregister a service that had not previously been registered will result in a no-op.
public:
void UnregisterService(Microsoft::ServiceHub::Framework::ServiceMoniker ^ moniker);
public void UnregisterService (Microsoft.ServiceHub.Framework.ServiceMoniker moniker);
member this.UnregisterService : Microsoft.ServiceHub.Framework.ServiceMoniker -> unit
Public Sub UnregisterService (moniker As ServiceMoniker)
Parameters
- moniker
- ServiceMoniker
The moniker of the service to unregister.