SendParametersContent 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许以参数形式向工作流服务发送数据或从工作流服务发送数据。
public ref class SendParametersContent sealed : System::ServiceModel::Activities::SendContent[System.Windows.Markup.ContentProperty("Parameters")]
public sealed class SendParametersContent : System.ServiceModel.Activities.SendContent[<System.Windows.Markup.ContentProperty("Parameters")>]
type SendParametersContent = class
    inherit SendContentPublic NotInheritable Class SendParametersContent
Inherits SendContent- 继承
- 属性
示例
下面的示例演示如何使用 SendParametersContent 类。
new SendReply
{                           
    Request = receiveString,                            
    Content = new SendParametersContent
    {
        Parameters =
        {
            { "echo", new InArgument<string>(echo) }
        },
    }
},
注解
SendParametersContent 与常规 WCF 客户端和服务互操作。 集合 SendParametersContent 类似于 C# 方法签名上的参数声明。 集合 SendParametersContent 不能包含消息协定或类型的 Message参数。 请为这些类型的数据使用 SendMessageContent。
构造函数
| SendParametersContent() | 初始化 SendParametersContent 类的新实例。 | 
| SendParametersContent(IDictionary<String,InArgument>) | 使用指定的参数初始化 SendParametersContent 类的新实例。 | 
属性
| Parameters | 获取或设置工作流服务操作参数。 | 
方法
| Equals(Object) | 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetHashCode() | 作为默认哈希函数。(继承自 Object) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| ToString() | 返回表示当前对象的字符串。(继承自 Object) |