Edit

Share via


DispatchOperation Constructors

Definition

Initializes a new instance of the DispatchOperation class.

Overloads

DispatchOperation(DispatchRuntime, String, String)

Initializes a new instance of the DispatchOperation class using the specified dispatch run-time, name, and action values.

DispatchOperation(DispatchRuntime, String, String, String)

Initializes a new instance of the DispatchOperation class using the specified dispatch run-time, name, action, and reply action values.

DispatchOperation(DispatchRuntime, String, String)

Source:
DispatchOperation.cs
Source:
DispatchOperation.cs
Source:
DispatchOperation.cs

Initializes a new instance of the DispatchOperation class using the specified dispatch run-time, name, and action values.

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)

Parameters

parent
DispatchRuntime

The associated DispatchRuntime object.

name
String

The name of the dispatch operation. This is used as the key to the Operations collection.

action
String

The message action for which this dispatch operation is being created.

Remarks

Use this constructor for a service operation that follows the one-way pattern.

Applies to

DispatchOperation(DispatchRuntime, String, String, String)

Source:
DispatchOperation.cs
Source:
DispatchOperation.cs
Source:
DispatchOperation.cs

Initializes a new instance of the DispatchOperation class using the specified dispatch run-time, name, action, and reply action values.

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)

Parameters

parent
DispatchRuntime

The associated DispatchRuntime object.

name
String

The name of the dispatch operation.

action
String

The SOAP message Action for which this dispatch operation is being created.

replyAction
String

The reply action associated with this dispatch operation.

Remarks

Use this constructor for a service operation that follows the request-reply pattern.

Applies to