This documentation is archived and is not being maintained.
ReceiveParametersContent::Parameters Property
Visual Studio 2010
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 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)}, } } };
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: