語言

DispatchOperation 建構函式

定義

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

多載

名稱 Description
DispatchOperation(DispatchRuntime, String, String)

使用指定的派遣執行時間、名稱及動作值初始化該類別的新 DispatchOperation 實例。

DispatchOperation(DispatchRuntime, String, String, String)

使用指定的派遣執行時間、名稱、動作及回應動作值初始化該類別的新 DispatchOperation 實例。

DispatchOperation(DispatchRuntime, String, String)

來源:
DispatchOperation.cs
來源:
DispatchOperation.cs
來源:
DispatchOperation.cs

使用指定的派遣執行時間、名稱及動作值初始化該類別的新 DispatchOperation 實例。

public:
 DispatchOperation(System::ServiceModel::Dispatcher::DispatchRuntime ^ parent, System::String ^ name, System::String ^ action);
public DispatchOperation(System.ServiceModel.Dispatcher.DispatchRuntime parent, string name, string action);
new System.ServiceModel.Dispatcher.DispatchOperation : System.ServiceModel.Dispatcher.DispatchRuntime * string * string -> System.ServiceModel.Dispatcher.DispatchOperation
Public Sub New (parent As DispatchRuntime, name As String, action As String)

參數

parent
DispatchRuntime

相關的 DispatchRuntime 物件。

name
String

調度行動的名稱。 這被用作收藏 Operations 的鑰匙。

action
String

此訊息動作所用於建立此派遣操作。

備註

使用此建構子用於一個遵循單向模式的服務操作。

適用於

DispatchOperation(DispatchRuntime, String, String, String)

來源:
DispatchOperation.cs
來源:
DispatchOperation.cs
來源:
DispatchOperation.cs

使用指定的派遣執行時間、名稱、動作及回應動作值初始化該類別的新 DispatchOperation 實例。

public:
 DispatchOperation(System::ServiceModel::Dispatcher::DispatchRuntime ^ parent, System::String ^ name, System::String ^ action, System::String ^ replyAction);
public DispatchOperation(System.ServiceModel.Dispatcher.DispatchRuntime parent, string name, string action, string replyAction);
new System.ServiceModel.Dispatcher.DispatchOperation : System.ServiceModel.Dispatcher.DispatchRuntime * string * string * string -> System.ServiceModel.Dispatcher.DispatchOperation
Public Sub New (parent As DispatchRuntime, name As String, action As String, replyAction As String)

參數

parent
DispatchRuntime

相關的 DispatchRuntime 物件。

name
String

調度行動的名稱。

action
String

此 SOAP 訊息 Action 正在建立此派遣操作。

replyAction
String

與此派遣操作相關的回應動作。

備註

使用此建構子執行一個遵循請求-回應模式的服務操作。

適用於