DispatchOperation Constructor
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of the DispatchOperation class using the specified dispatch runtime, name, and action values.
Namespace: System.ServiceModel.Dispatcher
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Public Sub New ( _
parent As DispatchRuntime, _
name As String, _
action As String _
)
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.
Remarks
Use this constructor for a service operation that follows the one-way pattern.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.