ServiceAction Constructor (String, ResourceType, ResourceSet, IEnumerable(ServiceOperationParameter), Boolean)
Initializes a new ServiceAction instance.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
returnType As ResourceType, _
resultSet As ResourceSet, _
parameters As IEnumerable(Of ServiceOperationParameter), _
isBindable As Boolean _
)
'Usage
Dim name As String
Dim returnType As ResourceType
Dim resultSet As ResourceSet
Dim parameters As IEnumerable(Of ServiceOperationParameter)
Dim isBindable As Boolean
Dim instance As New ServiceAction(name, returnType, _
resultSet, parameters, isBindable)
public ServiceAction(
string name,
ResourceType returnType,
ResourceSet resultSet,
IEnumerable<ServiceOperationParameter> parameters,
bool isBindable
)
public:
ServiceAction(
String^ name,
ResourceType^ returnType,
ResourceSet^ resultSet,
IEnumerable<ServiceOperationParameter^>^ parameters,
bool isBindable
)
new :
name:string *
returnType:ResourceType *
resultSet:ResourceSet *
parameters:IEnumerable<ServiceOperationParameter> *
isBindable:bool -> ServiceAction
public function ServiceAction(
name : String,
returnType : ResourceType,
resultSet : ResourceSet,
parameters : IEnumerable<ServiceOperationParameter>,
isBindable : boolean
)
Parameters
- name
Type: System..::..String
Name of the action.
- returnType
Type: System.Data.Services.Providers..::..ResourceType
Return type of the action.
- resultSet
Type: System.Data.Services.Providers..::..ResourceSet
Result resource set of the action.
- parameters
Type: System.Collections.Generic..::..IEnumerable< (Of < ( <'ServiceOperationParameter> ) > ) >
Ordered set of parameters for this action.
- isBindable
Type: System..::..Boolean
A value that is true when the first parameter in parameters is the binding parameter.