DurableServiceAttribute.Validate(ServiceDescription, ServiceHostBase) 方法

定义

验证是否正确设置对服务执行的所有持久性操作。

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

服务主机。

实现

适用于