GlobalBrokeredServiceContainer.UnregisterServices 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.
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.