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
- operationContext
Type: System.Data.Services.DataServiceOperationContext
The data service operation context instance.
- bindingParameterType
Type: System.Data.Services.Providers.ResourceType
The binding parameter resource type (ResourceType) in question.
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.