This API is now obsolete.
Client activity that models the synchronous invocation of a Windows Communication Foundation (WCF) service operation.
public ref class SendActivity sealed : System::Workflow::ComponentModel::Activity
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.SendActivity), "Design.Resources.SendActivity.png")] [System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")] [System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.SendActivityValidator))] public sealed class SendActivity : System.Workflow.ComponentModel.Activity
type SendActivity = class inherit Activity
Public NotInheritable Class SendActivity Inherits Activity
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
The SendActivity activity enables you to participate in a conversation with a WCF service using a predefined message exchange pattern.
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.
This activity is part of .NET Framework 3.5. For the equivalent activity in .NET Framework 4, see Send.
|SendActivity() SendActivity() SendActivity() SendActivity()||
Initializes a new instance of the SendActivity class.
|SendActivity(String) SendActivity(String) SendActivity(String) SendActivity(String)||
Initializes a new instance of the SendActivity class with the specified
|AfterResponseEvent AfterResponseEvent AfterResponseEvent AfterResponseEvent|
|BeforeSendEvent BeforeSendEvent BeforeSendEvent BeforeSendEvent|
|CustomAddressProperty CustomAddressProperty CustomAddressProperty CustomAddressProperty|
|ReturnValuePropertyName ReturnValuePropertyName ReturnValuePropertyName ReturnValuePropertyName||
Name of the property that is used for the return value sent by the service that the
|ChannelToken ChannelToken ChannelToken ChannelToken|
|Context Context Context Context||
Returns a dictionary that contains the context used for communication between the client and the service it is communicating with, including such things as identification for correlation.
|CustomAddress CustomAddress CustomAddress CustomAddress||
Gets or sets the custom address used to communicate with a service.
|Description Description Description Description||
Gets or sets the user-defined description of the Activity.(Inherited from Activity)
|DesignMode DesignMode DesignMode DesignMode||
Gets the value that indicates whether this instance is in design or run-time mode.(Inherited from DependencyObject)
|Enabled Enabled Enabled Enabled||
Gets or sets a value that indicates whether this instance is enabled for execution and validation.(Inherited from Activity)
|ExecutionResult ExecutionResult ExecutionResult ExecutionResult||
Gets the ActivityExecutionResult of the last attempt to run this instance.(Inherited from Activity)
|ExecutionStatus ExecutionStatus ExecutionStatus ExecutionStatus||
Gets the current ActivityExecutionStatus of this instance.(Inherited from Activity)
|IsDynamicActivity IsDynamicActivity IsDynamicActivity IsDynamicActivity||
Gets information about whether the activity is executing within the default ActivityExecutionContext of the workflow instance.(Inherited from Activity)
|Name Name Name Name||
Gets or sets the name of this instance. This name must conform to the variable naming convention of the programming language that is being used in the Workflow project.(Inherited from Activity)
|ParameterBindings ParameterBindings ParameterBindings ParameterBindings||
Gets the collection of bindable parameters as found in the Windows Communication Foundation (WCF) service's formal parameter list.
|Parent Parent Parent Parent||Activity)|
|ParentDependencyObject ParentDependencyObject ParentDependencyObject ParentDependencyObject||DependencyObject)|
|QualifiedName QualifiedName QualifiedName QualifiedName||
Gets the qualified name of the activity. Qualified activity names are always unique in a workflow instance.(Inherited from Activity)
|ServiceOperationInfo ServiceOperationInfo ServiceOperationInfo ServiceOperationInfo||
Defines the contract and operation of the service that the
|Site Site Site Site||DependencyObject)|
|UserData UserData UserData UserData||
Gets an IDictionary that associates custom data with this class instance.(Inherited from DependencyObject)
|WorkflowInstanceId WorkflowInstanceId WorkflowInstanceId WorkflowInstanceId||
Gets the Guid associated with the instance.(Inherited from Activity)
|AfterResponse AfterResponse AfterResponse AfterResponse||
Occurs after the response has been received from the service.
|BeforeSend BeforeSend BeforeSend BeforeSend||
Occurs before the SendActivity activity sends the message to the service.
|Canceling Canceling Canceling Canceling||
Occurs when the activity execution is canceled.(Inherited from Activity)
|Closed Closed Closed Closed||
Occurs when an Activity has completed execution.(Inherited from Activity)
|Compensating Compensating Compensating Compensating||
Occurs when running a compensation method on the Activity.(Inherited from Activity)
|Executing Executing Executing Executing||
Occurs when the Activity is run.(Inherited from Activity)
|Faulting Faulting Faulting Faulting||
Occurs when an exception is raised during the running of the instance.(Inherited from Activity)
|IComponent.Disposed IComponent.Disposed IComponent.Disposed IComponent.Disposed||
Represents the method that handles the Disposed event of a component.(Inherited from DependencyObject)
|StatusChanged StatusChanged StatusChanged StatusChanged||Activity)|