ReceiveParametersContent.Parameters プロパティ

定義

パラメーター コレクションを変更します。

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

プロパティ値

IDictionary<String,OutArgument>

パラメーター名を含むキーと引数を含む値で構成された、キーと値のペアの順序付けられたコレクション。

Parameters プロパティを設定する方法を次の例に示します。

Receive prescriptionRequest = new Receive
{
    DisplayName = "Request Perscription",
    OperationName = "GetBaseCost",
    ServiceContractName = Constants.PharmacyServiceContractName,
    CanCreateInstance = true,
    //CorrelatesWith = customerHandle,  -- add this line for explicit correlation
    CorrelatesOn = customerQuerySet,
    Content = new ReceiveParametersContent
    {
        Parameters = 
        {
            {"Customer",new OutArgument<Customer>(customer)},
            {"Drug",new OutArgument<string>(drug)},
        }
    }
};

適用対象