次の方法で共有


HubClient.UnregisterService(ServiceMoniker) Method

Definition

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.

Applies to