SendContent Class
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.
An abstract base class for classes that represent the data sent to a workflow service.
public ref class SendContent abstract
public abstract class SendContent
type SendContent = class
Public MustInherit Class SendContent
- Inheritance
-
SendContent
- Derived
Examples
The following example shows how to use the SendContent class to specify the SendMessageContent for a Send activity.
new Send
{
Endpoint = clientEndpoint,
ServiceContractName = Constants.POContractName,
OperationName = Constants.UpdatePOName,
Content = SendContent.Create(new InArgument<PurchaseOrder>(po))
},
Methods
Create(IDictionary<String,InArgument>) |
Creates a new SendParametersContent instance with the specified parameters. |
Create(InArgument, Type) |
Creates a new SendMessageContent instance with the specified message and message type. |
Create(InArgument) |
Creates a new SendMessageContent instance with the specified message. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
.NET