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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา