Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft