Share via


EntityFrameworkDataServiceProvider.TryResolveServiceOperation Method

Given the specified name, tries to find a service operation.

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

Syntax

'Declaration
Public Overridable Function TryResolveServiceOperation ( _
    name As String, _
    <OutAttribute> ByRef serviceOperation As ServiceOperation _
) As Boolean
'Usage
Dim instance As EntityFrameworkDataServiceProvider 
Dim name As String 
Dim serviceOperation As ServiceOperation 
Dim returnValue As Boolean 

returnValue = instance.TryResolveServiceOperation(name, _
    serviceOperation)
public virtual bool TryResolveServiceOperation(
    string name,
    out ServiceOperation serviceOperation
)
public:
virtual bool TryResolveServiceOperation(
    String^ name, 
    [OutAttribute] ServiceOperation^% serviceOperation
)
abstract TryResolveServiceOperation : 
        name:string * 
        serviceOperation:ServiceOperation byref -> bool  
override TryResolveServiceOperation : 
        name:string * 
        serviceOperation:ServiceOperation byref -> bool
public function TryResolveServiceOperation(
    name : String, 
    serviceOperation : ServiceOperation
) : boolean

Parameters

  • name
    Type: System.String
    Name of the service operation to resolve.

Return Value

Type: System.Boolean
True if we found the service operation for the given name, false otherwise.

Implements

IDataServiceMetadataProvider.TryResolveServiceOperation(String, ServiceOperation%)

See Also

Reference

EntityFrameworkDataServiceProvider Class

System.Data.Services.Providers Namespace