Editar

Compartilhar via


SendParametersContent Class

Definition

Enables sending data to or from a workflow service in the form of parameters.

public ref class SendParametersContent sealed : System::ServiceModel::Activities::SendContent
[System.Windows.Markup.ContentProperty("Parameters")]
public sealed class SendParametersContent : System.ServiceModel.Activities.SendContent
[<System.Windows.Markup.ContentProperty("Parameters")>]
type SendParametersContent = class
    inherit SendContent
Public NotInheritable Class SendParametersContent
Inherits SendContent
Inheritance
SendParametersContent
Attributes

Examples

The following example shows how to use the SendParametersContent class.

new SendReply
{                           
    Request = receiveString,                            
    Content = new SendParametersContent
    {
        Parameters =
        {
            { "echo", new InArgument<string>(echo) }
        },
    }
},

Remarks

SendParametersContent is interoperable with regular WCF clients and services. The SendParametersContent collection is similar to the argument declaration on a C# method signature. The SendParametersContent collection cannot contain an argument that is a message contract or of type Message. Use SendMessageContent for these types of data.

Constructors

SendParametersContent()

Initializes a new instance of the SendParametersContent class.

SendParametersContent(IDictionary<String,InArgument>)

Initializes a new instance of the SendParametersContent class with the specified parameters.

Properties

Parameters

Gets or sets the workflow service operation parameters.

Methods

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