Export (0) Print
Expand All

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)

IDataServiceInvokable CreateInvokable(
	DataServiceOperationContext operationContext,
	ServiceAction serviceAction,
	Object[] parameterTokens
)

Parameters

operationContext
Type: System.Data.Services.DataServiceOperationContext
The data service operation context instance.
serviceAction
Type: System.Data.Services.Providers.ServiceAction
The T:System.Data.Services.Providers.ServiceAction instance that represents the service action to invoke.
parameterTokens
Type: System.Object[]
The parameters required to invoke the service action.

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.

Show:
© 2014 Microsoft