SendParametersContent.Parameters 属性

定义

获取或设置工作流服务操作参数。

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::Activities::InArgument ^> ^ Parameters { System::Collections::Generic::IDictionary<System::String ^, System::Activities::InArgument ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,System.Activities.InArgument> Parameters { get; }
member this.Parameters : System.Collections.Generic.IDictionary<string, System.Activities.InArgument>
Public ReadOnly Property Parameters As IDictionary(Of String, InArgument)

属性值

键值对的有序集合,其中键包含参数名称,值包含参数。

示例

下面的示例演示如何设置 Parameters 属性。

new SendReply
{                           
    Request = receiveString,                            
    Content = new SendParametersContent
    {
        Parameters =
        {
            { "echo", new InArgument<string>(echo) }
        },
    }
},

适用于