Service.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) 方法

定义

为所有服务操作注册一个用于提取和应用 WCF 客户端区域设置信息的参数检查器。 为所有通道注册一个错误处理程序。

public:
 virtual void ApplyDispatchBehavior(System::ServiceModel::Description::ServiceDescription ^ serviceDescription, System::ServiceModel::ServiceHostBase ^ serviceHostBase);
public void ApplyDispatchBehavior (System.ServiceModel.Description.ServiceDescription serviceDescription, System.ServiceModel.ServiceHostBase serviceHostBase);
abstract member ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
override this.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
Public Sub ApplyDispatchBehavior (serviceDescription As ServiceDescription, serviceHostBase As ServiceHostBase)

参数

serviceDescription
ServiceDescription
serviceHostBase
ServiceHostBase

实现

适用于