IDataServiceActionProvider.CreateInvokable Method

Creates an instance of IDataServiceInvokable for the specified service action.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Function CreateInvokable ( _
    operationContext As DataServiceOperationContext, _
    serviceAction As ServiceAction, _
    parameterTokens As Object() _
) As IDataServiceInvokable
'Usage
Dim instance As IDataServiceActionProvider 
Dim operationContext As DataServiceOperationContext 
Dim serviceAction As ServiceAction 
Dim parameterTokens As Object()
Dim returnValue As IDataServiceInvokable 

returnValue = instance.CreateInvokable(operationContext, _
    serviceAction, parameterTokens)
IDataServiceInvokable CreateInvokable(
    DataServiceOperationContext operationContext,
    ServiceAction serviceAction,
    Object[] parameterTokens
)
IDataServiceInvokable^ CreateInvokable(
    DataServiceOperationContext^ operationContext, 
    ServiceAction^ serviceAction, 
    array<Object^>^ parameterTokens
)
abstract CreateInvokable : 
        operationContext:DataServiceOperationContext * 
        serviceAction:ServiceAction * 
        parameterTokens:Object[] -> IDataServiceInvokable
function CreateInvokable(
    operationContext : DataServiceOperationContext, 
    serviceAction : ServiceAction, 
    parameterTokens : Object[]
) : IDataServiceInvokable

Parameters

  • parameterTokens
    Type: array<System.Object[]
    The parameters required to invoke the service action.

Return Value

Type: System.Data.Services.Providers.IDataServiceInvokable
An instance of IDataServiceInvokable

Remarks

This method returns an object that contains a delegate that implements the service action behavior. The resource on which the service action is invoked (bound) is passed as a parameter.

See Also

Reference

IDataServiceActionProvider Interface

System.Data.Services.Providers Namespace