IDataServiceActionProvider.GetServiceActionsByBindingParameterType Method

Gets a collection of service actions that match the specified binding parameter type.

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

Syntax

'Declaration
Function GetServiceActionsByBindingParameterType ( _
    operationContext As DataServiceOperationContext, _
    bindingParameterType As ResourceType _
) As IEnumerable(Of ServiceAction)
'Usage
Dim instance As IDataServiceActionProvider 
Dim operationContext As DataServiceOperationContext 
Dim bindingParameterType As ResourceType 
Dim returnValue As IEnumerable(Of ServiceAction)

returnValue = instance.GetServiceActionsByBindingParameterType(operationContext, _
    bindingParameterType)
IEnumerable<ServiceAction> GetServiceActionsByBindingParameterType(
    DataServiceOperationContext operationContext,
    ResourceType bindingParameterType
)
IEnumerable<ServiceAction^>^ GetServiceActionsByBindingParameterType(
    DataServiceOperationContext^ operationContext, 
    ResourceType^ bindingParameterType
)
abstract GetServiceActionsByBindingParameterType : 
        operationContext:DataServiceOperationContext * 
        bindingParameterType:ResourceType -> IEnumerable<ServiceAction> 
function GetServiceActionsByBindingParameterType(
    operationContext : DataServiceOperationContext, 
    bindingParameterType : ResourceType
) : IEnumerable<ServiceAction>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ServiceAction>
A collection of ServiceAction instances.

Remarks

Service actions act upon a specific resource type. The resource type associated with a service action is called the binding parameter type. This method returns a collection of all service actions that bind to the specified binding parameter type.

See Also

Reference

IDataServiceActionProvider Interface

System.Data.Services.Providers Namespace