ClientOperation Constructor (ClientRuntime, String, String, String)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of the ClientOperation class using the specified ClientRuntime, name, action, and reply action values.
Namespace: System.ServiceModel.Dispatcher
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Public Sub New ( _
parent As ClientRuntime, _
name As String, _
action As String, _
replyAction As String _
)
public ClientOperation(
ClientRuntime parent,
string name,
string action,
string replyAction
)
Parameters
- parent
Type: System.ServiceModel.Dispatcher.ClientRuntime
The containing ClientRuntime object.
- name
Type: System.String
The name of the operation.
- action
Type: System.String
The action of the operation.
- replyAction
Type: System.String
The action of the reply message.
Exceptions
Exception | Condition |
---|---|
[T:::System.ArgumentNullException] | Parent or name is nulla null reference (Nothing in Visual Basic). |
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.