ChannelDispatcherBase.Detach Method (ServiceHostBase)
When overridden in a derived class, detaches the channel dispatcher from a specific host.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
host is null.
The communication object is in a Faulted state.
Should set the ServiceHostBase associated with the channel dispatcher to null.
ServiceHost calls this method when the ChannelDispatcherBase is removed from its ChannelDispatchers collection. This gives the ChannelDispatcherBase a chance to unhook events and inspect the ServiceHost.
Available since 3.0