IDataServiceMetadataProvider.TryResolveServiceOperation Method

Definition

Tries to get a service operation based on the specified name.

public:
 bool TryResolveServiceOperation(System::String ^ name, [Runtime::InteropServices::Out] System::Data::Services::Providers::ServiceOperation ^ % serviceOperation);
public bool TryResolveServiceOperation (string name, out System.Data.Services.Providers.ServiceOperation serviceOperation);
abstract member TryResolveServiceOperation : string * ServiceOperation -> bool
Public Function TryResolveServiceOperation (name As String, ByRef serviceOperation As ServiceOperation) As Boolean

Parameters

name
String

Name of the service operation to resolve.

serviceOperation
ServiceOperation

Returns the service operation or a null value if a service operation with the given name is not found.

Returns

true if the service operation with the given name is found; otherwise, false.

Applies to