DurableServiceAttribute.Validate(ServiceDescription, ServiceHostBase) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
验证是否正确设置对服务执行的所有持久性操作。
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
服务主机。