Aracılığıyla paylaş


ChannelDispatcher.Attach(ServiceHostBase) Yöntem

Tanım

Kanal dağıtıcısını konağa ekler.

protected:
 override void Attach(System::ServiceModel::ServiceHostBase ^ host);
protected override void Attach (System.ServiceModel.ServiceHostBase host);
override this.Attach : System.ServiceModel.ServiceHostBase -> unit
Protected Overrides Sub Attach (host As ServiceHostBase)

Parametreler

host
ServiceHostBase

ServiceHostBase Hizmet için.

Özel durumlar

İletişim nesnesi veya Opening Opened durumunda.

İletişim nesnesi veya Closing Closed durumunda.

İletişim nesnesi bir Faulted durumda.

Açıklamalar

Hem değiştirilebilir hem de atılmayan ChannelDispatcher tek durum olduğundan Created , bu özellik yalnızca örneği durumunda olduğunda ayarlanabilir.

Şunlara uygulanır