Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DispatchOperation Constructor (DispatchRuntime^, String^, String^)

 

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

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
DispatchOperation(
	DispatchRuntime^ parent,
	String^ name,
	String^ action
)

Parameters

parent
Type: System.ServiceModel.Dispatcher::DispatchRuntime^

The associated DispatchRuntime object.

name
Type: System::String^

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

action
Type: System::String^

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

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft