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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.