ChannelDispatcherBase::CloseInput Method ()

 

When overridden in a derived class, removes the endpoint dispatchers associated with the channel dispatcher.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
virtual void CloseInput()

ServiceHost calls this method during shutdown to give the dispatcher a chance to drain messages. ChannelDispatcher uses this call to close datagram channels.

.NET Framework
Available since 3.0
Return to top
Show: