Share via


IDataServiceActionProvider.GetServiceActions Method

Return a collection of ServiceActions instances that represent the service actions implemented by the WCF Data Service.

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

Syntax

'Declaration
Function GetServiceActions ( _
    operationContext As DataServiceOperationContext _
) As IEnumerable(Of ServiceAction)
'Usage
Dim instance As IDataServiceActionProvider 
Dim operationContext As DataServiceOperationContext 
Dim returnValue As IEnumerable(Of ServiceAction)

returnValue = instance.GetServiceActions(operationContext)
IEnumerable<ServiceAction> GetServiceActions(
    DataServiceOperationContext operationContext
)
IEnumerable<ServiceAction^>^ GetServiceActions(
    DataServiceOperationContext^ operationContext
)
abstract GetServiceActions : 
        operationContext:DataServiceOperationContext -> IEnumerable<ServiceAction> 
function GetServiceActions(
    operationContext : DataServiceOperationContext
) : IEnumerable<ServiceAction>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ServiceAction>
An enumeration of all service actions.

Remarks

One ServiceAction is created for each service action exposed by the service.

See Also

Reference

IDataServiceActionProvider Interface

System.Data.Services.Providers Namespace