ServiceMetadataContractBehavior.IContractBehavior.AddBindingParameters 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
配置绑定元素以支持协定行为。
virtual void System.ServiceModel.Description.IContractBehavior.AddBindingParameters(System::ServiceModel::Description::ContractDescription ^ description, System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Channels::BindingParameterCollection ^ parameters) = System::ServiceModel::Description::IContractBehavior::AddBindingParameters;
void IContractBehavior.AddBindingParameters (System.ServiceModel.Description.ContractDescription description, System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection parameters);
abstract member System.ServiceModel.Description.IContractBehavior.AddBindingParameters : System.ServiceModel.Description.ContractDescription * System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Channels.BindingParameterCollection -> unit
override this.System.ServiceModel.Description.IContractBehavior.AddBindingParameters : System.ServiceModel.Description.ContractDescription * System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Channels.BindingParameterCollection -> unit
Sub AddBindingParameters (description As ContractDescription, endpoint As ServiceEndpoint, parameters As BindingParameterCollection) Implements IContractBehavior.AddBindingParameters
参数
- description
- ContractDescription
要修改的协定说明。
- endpoint
- ServiceEndpoint
要修改的终结点。
- parameters
- BindingParameterCollection
绑定元素支持该行为所需的对象。