IDataServiceActionProvider.TryResolveServiceAction Method

Attempts to retrieve the ServiceAction instance for the specified service action.

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

bool TryResolveServiceAction(
	DataServiceOperationContext operationContext,
	string serviceActionName,
	out ServiceAction serviceAction
)

Parameters

operationContext
Type: System.Data.Services.DataServiceOperationContext
The data service operation context instance.
serviceActionName
Type: System.String
The name of the service action to resolve.
serviceAction
Type: System.Data.Services.Providers.ServiceAction
Returns the service action instance if the resolution is successful; null otherwise.

Return Value

Type: System.Boolean
true if the resolution is successful; false otherwise.
Show: