Share via


Service.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) Method

Definition

Registers for all service operations a parameter inspector that extracts and applies WCF client locale info. Registers an error handler for all channels.

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)

Parameters

serviceDescription
ServiceDescription
serviceHostBase
ServiceHostBase

Implements

Applies to