ChannelDispatcher::OnOpening Method ()

 

Checks whether the channel dispatcher is attached to a host.

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

protected:
virtual void OnOpening() override

Exception Condition
InvalidOperationException

The host is null.

The channel dispatcher must be associated with a non-null service host on opening.

.NET Framework
Available since 3.0
Return to top
Show: