SendActivity Class
Client activity that models the synchronous invocation of a Windows Communication Foundation (WCF) service operation.
Assembly: System.WorkflowServices (in System.WorkflowServices.dll)
The SendActivity activity enables you to participate in a conversation with a WCF service using a predefined message exchange pattern.
Note: |
|---|
The SendActivity activity is a blocking activity, meaning that workflow execution is blocked until the activity completes execution. |
The message exchange patterns supported by the SendActivity activity include:
One-way Send Message
The SendActivity activity sends a message but does not expect a response from the service.
Send Request - Receive Reply
The SendActivity activity sends a message and waits until a response is received from the service.
Send Request - Receive Fault
The SendActivity activity sends a message and waits until a response or a fault is received from the service. During execution, the send activity throws all of the faults that were received from the server. FaultHandlerActivity activities can be used to handle the faults in the client workflow.
System.Workflow.ComponentModel.DependencyObject
System.Workflow.ComponentModel.Activity
System.Workflow.Activities.SendActivity
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note: