ReceiveContextEnabledAttribute.AddBindingParameters 方法

定义

配置绑定元素以支持接收上下文行为。

public:
 virtual void AddBindingParameters(System::ServiceModel::Description::OperationDescription ^ operationDescription, System::ServiceModel::Channels::BindingParameterCollection ^ bindingParameters);
public void AddBindingParameters (System.ServiceModel.Description.OperationDescription operationDescription, System.ServiceModel.Channels.BindingParameterCollection bindingParameters);
abstract member AddBindingParameters : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Channels.BindingParameterCollection -> unit
override this.AddBindingParameters : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Channels.BindingParameterCollection -> unit
Public Sub AddBindingParameters (operationDescription As OperationDescription, bindingParameters As BindingParameterCollection)

参数

operationDescription
OperationDescription

操作说明。

bindingParameters
BindingParameterCollection

绑定参数。

实现

适用于