Share via


SendParametersContent 類別

定義

允許以參數的形式,與工作流程服務來回傳送資料。

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
繼承
SendParametersContent
屬性

範例

下列範例將示範如何使用 SendParametersContent 類別。

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

備註

SendParametersContent 與一般 WCF 用戶端和服務互通。 SendParametersContent集合類似于 C# 方法簽章上的引數宣告。 集合 SendParametersContent 不能包含訊息合約或類型的 Message 引數。 針對這些資料型別,請使用 SendMessageContent

建構函式

SendParametersContent()

初始化 SendParametersContent 類別的新執行個體。

SendParametersContent(IDictionary<String,InArgument>)

使用指定的參數,初始化 SendParametersContent 類別的新執行個體。

屬性

Parameters

取得或設定工作流程服務作業參數。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於