共用方式為


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

服務的主機。

實作

適用於