DataServiceProvider.DSPMetadata.TryResolveServiceOperation C# (CSharp) Method

TryResolveServiceOperation() public method

Returns a service operation specified by its name.
The implementation of this method should be very fast as it will get called for many requests. It should also be fast for non-existing service operations to avoid possible DoS attacks on the service.
public TryResolveServiceOperation ( string name, System.Data.Services.Providers.ServiceOperation &serviceOperation ) : bool
name string The name of the service operation to find.
serviceOperation System.Data.Services.Providers.ServiceOperation The service operation instance found.
return bool
        public bool TryResolveServiceOperation(string name, out ServiceOperation serviceOperation)
        {
            // No service operations are supported yet
            serviceOperation = null;
            return false;
        }