InvokeArgs Constructor
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Initializes a new instance of the InvokeArgs class.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public Sub New ( _
operationName As String, _
returnType As Type, _
parameters As IDictionary(Of String, Object), _
hasSideEffects As Boolean _
)
'Usage
Dim operationName As String
Dim returnType As Type
Dim parameters As IDictionary(Of String, Object)
Dim hasSideEffects As Boolean
Dim instance As New InvokeArgs(operationName, _
returnType, parameters, hasSideEffects)
public InvokeArgs(
string operationName,
Type returnType,
IDictionary<string, Object> parameters,
bool hasSideEffects
)
public:
InvokeArgs(
String^ operationName,
Type^ returnType,
IDictionary<String^, Object^>^ parameters,
bool hasSideEffects
)
new :
operationName:string *
returnType:Type *
parameters:IDictionary<string, Object> *
hasSideEffects:bool -> InvokeArgs
public function InvokeArgs(
operationName : String,
returnType : Type,
parameters : IDictionary<String, Object>,
hasSideEffects : boolean
)
Parameters
- operationName
Type: System.String
The name of the invoke operation.
- returnType
Type: System.Type
The return type of the invoke operation.
- parameters
Type: System.Collections.Generic.IDictionary<String, Object>
Optional parameters to the operation. Specify nulla null reference (Nothing in Visual Basic) if the method takes no parameters.
- hasSideEffects
Type: System.Boolean
true if the operation has side-effects; otherwise, false.