SendActivity Class

Client activity that models the synchronous invocation of a Windows Communication Foundation (WCF) service operation.

Namespace:  System.Workflow.Activities
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

[ToolboxBitmapAttribute(typeof(SendActivity), "Design.Resources.SendActivity.png")]
public sealed class SendActivity : Activity

The SendActivity activity enables you to participate in a conversation with a WCF service using a predefined message exchange pattern.

NoteNote:

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft