ReceiveParametersContent::Parameters Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Modifies the parameters collection.

Namespace:   System.ServiceModel.Activities
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

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
Return to top