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 Constructor (IChannelListener^, String^, IDefaultCommunicationTimeouts^)
.NET Framework (current version)
Initializes a new instance of the ChannelDispatcher class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public:
ChannelDispatcher(
IChannelListener^ listener,
String^ bindingName,
IDefaultCommunicationTimeouts^ timeouts
)
Parameters
- listener
-
Type:
System.ServiceModel.Channels::IChannelListener^
The IChannelListener for the service.
- bindingName
-
Type:
System::String^
The name of the binding used to configure the service.
- timeouts
-
Type:
System.ServiceModel::IDefaultCommunicationTimeouts^
The IDefaultCommunicationTimeouts for the service.
| Exception | Condition |
|---|---|
| ArgumentNullException | listener is null. |
Initializes a new instance of the ChannelDispatcher class from the provided listener and binding, with the specified default timeouts.
.NET Framework
Available since 3.0
Available since 3.0
Show: