ServiceFunction Constructor (String, ResourceType, ResourceSet, IEnumerable(ServiceOperationParameter), Boolean, Boolean)
Initializes a new ServiceFunction 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, _
isComposable 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 isComposable As Boolean
Dim instance As New ServiceFunction(name, returnType, _
resultSet, parameters, isBindable, _
isComposable)
public ServiceFunction(
string name,
ResourceType returnType,
ResourceSet resultSet,
IEnumerable<ServiceOperationParameter> parameters,
bool isBindable,
bool isComposable
)
public:
ServiceFunction(
String^ name,
ResourceType^ returnType,
ResourceSet^ resultSet,
IEnumerable<ServiceOperationParameter^>^ parameters,
bool isBindable,
bool isComposable
)
new :
name:string *
returnType:ResourceType *
resultSet:ResourceSet *
parameters:IEnumerable<ServiceOperationParameter> *
isBindable:bool *
isComposable:bool -> ServiceFunction
public function ServiceFunction(
name : String,
returnType : ResourceType,
resultSet : ResourceSet,
parameters : IEnumerable<ServiceOperationParameter>,
isBindable : boolean,
isComposable : boolean
)
Parameters
- name
Type: System..::..String
name of the function.
- returnType
Type: System.Data.Services.Providers..::..ResourceType
Return type of the function.
- resultSet
Type: System.Data.Services.Providers..::..ResourceSet
Result resource set of the function if the function returns an entity or a collection of entity; null otherwise.
- parameters
Type: System.Collections.Generic..::..IEnumerable< (Of < ( <'ServiceOperationParameter> ) > ) >
In-order parameters for this function.
- isBindable
Type: System..::..Boolean
true if the first parameter in parameters is the binding parameter; false otherwise.
- isComposable
Type: System..::..Boolean
true if further composition is allowed after calling this function; false otherwise.