ReceiveActivity.ServiceOperationInfo 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.
Defines the contract and service operation that the ReceiveActivity activity implements.
public:
property System::Workflow::Activities::OperationInfoBase ^ ServiceOperationInfo { System::Workflow::Activities::OperationInfoBase ^ get(); void set(System::Workflow::Activities::OperationInfoBase ^ value); };
[System.ComponentModel.Browsable(true)]
public System.Workflow.Activities.OperationInfoBase ServiceOperationInfo { get; set; }
[<System.ComponentModel.Browsable(true)>]
member this.ServiceOperationInfo : System.Workflow.Activities.OperationInfoBase with get, set
Public Property ServiceOperationInfo As OperationInfoBase
Property Value
An OperationInfoBase object that contains the contract name, the contract type, the operation name, (which could be distinct from method name), whether the operation is a one-way operation, and method information including parameters about the operation.
- Attributes
Remarks
The ServiceOperationInfo property can be set to an instance of type TypedOperationInfo or OperationInfo. TypedOperationInfo can be used to configure a receive activity using an existing Windows Communication Foundation (WCF) service contract.
An instance of OperationInfo can be used to configure a receive activity for the workflow-first contract scenario.