共用方式為


WorkflowRuntimeBehavior.Validate(ServiceDescription, ServiceHostBase) 方法

定義

驗證工作流程服務所用的排程服務已新增至 WorkflowRuntime 物件,且呼叫 WorkflowRuntime 之前沒有啟動 Open 物件。

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

參數

serviceDescription
ServiceDescription

服務描述。

serviceHostBase
ServiceHostBase

服務主機。

實作

例外狀況

適用於