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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.