ServiceMetadataContractBehavior.IContractBehavior.Validate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
確認合約和端點可以支援合約行為。
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
要驗證的端點。