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
繫結項目支援行為所需的物件。