ReceiveActivity.ParameterBindings 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取在服务的正式参数列表中找到的可绑定参数的集合。
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 可用于指定包含活动的工作流 ReceiveActivity 的服务操作参数和公共字段/属性之间的绑定。 当客户端调用操作时,相应的参数值将写入到接收活动的执行过程中绑定的工作流属性。
ParameterBindings 还可以由接收活动的子活动用来读取客户端调用传入的参数值。 子活动可以使用 ParameterBindings 集合设置父 ReceiveActivity 活动的返回值。
服务协定的所有参数都应包含在属性中 ParameterBindings 。 未绑定的参数会导致编译器在编译时发出警告,当此消息返回给客户端时 ReceiveActivity ,可能会发生异常。