SendContent SendContent SendContent SendContent Class

Definition

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
SendContentSendContentSendContentSendContent
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>) Create(IDictionary<String,InArgument>) Create(IDictionary<String,InArgument>) Create(IDictionary<String,InArgument>)

Creates a new SendParametersContent instance with the specified parameters.

Create(InArgument) Create(InArgument) Create(InArgument) Create(InArgument)

Creates a new SendMessageContent instance with the specified message.

Create(InArgument, Type) Create(InArgument, Type) Create(InArgument, Type) Create(InArgument, Type)

Creates a new SendMessageContent instance with the specified message and message type.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to