共用方式為


ServiceMetadataContractBehavior.IContractBehavior.Validate 方法

定義

確認合約和端點可以支援合約行為。

 virtual void System.ServiceModel.Description.IContractBehavior.Validate(System::ServiceModel::Description::ContractDescription ^ description, System::ServiceModel::Description::ServiceEndpoint ^ endpoint) = System::ServiceModel::Description::IContractBehavior::Validate;
void IContractBehavior.Validate (System.ServiceModel.Description.ContractDescription description, System.ServiceModel.Description.ServiceEndpoint endpoint);
abstract member System.ServiceModel.Description.IContractBehavior.Validate : System.ServiceModel.Description.ContractDescription * System.ServiceModel.Description.ServiceEndpoint -> unit
override this.System.ServiceModel.Description.IContractBehavior.Validate : System.ServiceModel.Description.ContractDescription * System.ServiceModel.Description.ServiceEndpoint -> unit
Sub Validate (description As ContractDescription, endpoint As ServiceEndpoint) Implements IContractBehavior.Validate

參數

description
ContractDescription

要驗證的合約。

endpoint
ServiceEndpoint

要驗證的端點。

實作

適用於