ChannelDispatcher::OnOpen Method (TimeSpan)

 

Opens the listener associated with the channel dispatcher.

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

protected:
virtual void OnOpen(
	TimeSpan timeout
) override

Parameters

timeout
Type: System::TimeSpan

The TimeSpan that specifies the interval of time allowed for the listener to open.

Exception Condition
InvalidOperationException

The host or the message version is null.

The channel dispatcher must be associated with a non-null service host when this method is called and message version must be set to a non-null value.

.NET Framework
Available since 3.0
Return to top
Show: