SqlWorkflowInstanceStoreBehavior.ApplyDispatchBehavior 方法

定义

一个 IServiceBehavior 接口的 ApplyDispatchBehavior 方法的实现,该方法允许您更改运行时属性值或插入自定义扩展对象,例如错误处理程序、消息或参数检查器、安全扩展以及其他自定义扩展对象。

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

服务的宿主。

实现

适用于