ReceiveParametersContent.Parameters Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Modifies the parameters collection.
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)
Property Value
An ordered collection of key-value pairs with the keys containing the parameter names and the values containing the arguments.
Examples
The following example shows how to set the Parameters property.
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)},
}
}
};
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET