WebHttpBehavior.AddBindingParameters 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
实现 AddBindingParameters(ServiceEndpoint, BindingParameterCollection) 方法可将运行时处的数据传递给绑定以支持自定义行为。
public:
virtual void AddBindingParameters(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Channels::BindingParameterCollection ^ bindingParameters);
public virtual void AddBindingParameters (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters);
abstract member AddBindingParameters : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Channels.BindingParameterCollection -> unit
override this.AddBindingParameters : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Channels.BindingParameterCollection -> unit
Public Overridable Sub AddBindingParameters (endpoint As ServiceEndpoint, bindingParameters As BindingParameterCollection)
参数
- endpoint
- ServiceEndpoint
终结点。
- bindingParameters
- BindingParameterCollection
支持修改绑定的绑定参数。