ReceiveParametersContent::Parameters Property
.NET Framework (current version)
Modifies the parameters collection.
Assembly: System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)
public: property IDictionary<String^, OutArgument^>^ Parameters { IDictionary<String^, OutArgument^>^ get(); private: void set(IDictionary<String^, OutArgument^>^ value); }
Property Value
Type: System.Collections.Generic::IDictionary<String^, OutArgument^>^An ordered collection of key-value pairs with the keys containing the parameter names and the values containing the arguments.
The following example shows how to set the P:System.ServiceModel.Activitie.ReceiveParametersContent.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)}, } } };
.NET Framework
Available since 4.0
Available since 4.0
Show: