Edit

Bagikan melalui


ServiceMetadataContractBehavior.IContractBehavior.Validate Method

Definition

Confirms the contract and endpoint can support the contract behavior.

 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

Parameters

description
ContractDescription

The contract to validate.

endpoint
ServiceEndpoint

The endpoint to validate.

Implements

Applies to