共用方式為


AspNetCompatibilityRequirementsAttribute.IServiceBehavior.Validate 方法

定義

驗證服務行為。

 virtual void System.ServiceModel.Description.IServiceBehavior.Validate(System::ServiceModel::Description::ServiceDescription ^ description, System::ServiceModel::ServiceHostBase ^ serviceHostBase) = System::ServiceModel::Description::IServiceBehavior::Validate;
void IServiceBehavior.Validate (System.ServiceModel.Description.ServiceDescription description, System.ServiceModel.ServiceHostBase serviceHostBase);
abstract member System.ServiceModel.Description.IServiceBehavior.Validate : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
override this.System.ServiceModel.Description.IServiceBehavior.Validate : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
Sub Validate (description As ServiceDescription, serviceHostBase As ServiceHostBase) Implements IServiceBehavior.Validate

參數

description
ServiceDescription

服務的 ServiceDescription

serviceHostBase
ServiceHostBase

用來裝載服務的 ServiceHostBase

實作

備註

這個方法支援 WCF 基礎結構,不適合直接從您的程式碼使用。

適用於