แก้ไข

แชร์ผ่าน


ChannelDispatcherBase.Host Property

Definition

When overridden in a derived class, gets the service host associated with the channel dispatcher.

public:
 abstract property System::ServiceModel::ServiceHostBase ^ Host { System::ServiceModel::ServiceHostBase ^ get(); };
public abstract System.ServiceModel.ServiceHostBase Host { get; }
member this.Host : System.ServiceModel.ServiceHostBase
Public MustOverride ReadOnly Property Host As ServiceHostBase

Property Value

The ServiceHostBase for the service associated with the dispatcher.

Remarks

Each ServiceHost object can have many ChannelDispatcher objects, each associated with a different IChannelListener for that service. The host keeps a list of these ChannelDispatcherBase objects in the ChannelDispatchers collection.

Applies to