SendActivity.ParameterBindings 属性

定义

获取在 Windows Communication Foundation (WCF) 服务的正式参数列表中找到的可绑定参数的集合。

public:
 property System::Workflow::ComponentModel::WorkflowParameterBindingCollection ^ ParameterBindings { System::Workflow::ComponentModel::WorkflowParameterBindingCollection ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Workflow.ComponentModel.WorkflowParameterBindingCollection ParameterBindings { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ParameterBindings : System.Workflow.ComponentModel.WorkflowParameterBindingCollection
Public ReadOnly Property ParameterBindings As WorkflowParameterBindingCollection

属性值

WorkflowParameterBindingCollection要绑定到的参数。

属性

注解

ParameterBindings 可用于指定服务操作参数与包含活动的工作流 SendActivity 的公共字段和属性之间的绑定。 SendActivity执行活动时,将从绑定到的工作流属性中读取相应的参数值,并将其作为服务操作参数发送到服务。

ParameterBindings 还可用于从服务操作中检索返回值。

应绑定服务操作的所有参数。 未绑定的服务操作参数生成编译器警告,并在调用参数时 SendActivity 发送参数的默认值。

适用于