次の方法で共有


GlobalBrokeredServiceContainer.UnregisterServices Method

Definition

Unregisters a set of services with the global broker. This is separate from unproffering a service. A service should be unregistered before it is unproffered. An AvailabilityChanged event is never fired as a result of calling this method, but instead will be fired once the service is unproffered. To unproffer a service, simply dispose of it's proffering source.

protected void UnregisterServices (System.Collections.Generic.IEnumerable<Microsoft.ServiceHub.Framework.ServiceMoniker> services);
member this.UnregisterServices : seq<Microsoft.ServiceHub.Framework.ServiceMoniker> -> unit
Protected Sub UnregisterServices (services As IEnumerable(Of ServiceMoniker))

Parameters

services
IEnumerable<ServiceMoniker>

The set of services to be unregistered.

Applies to