CustomUriFunctions.AddCustomUriFunction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a custom uri function to extend uri functions. In case the function name already exists as a custom function, the signature will be added as an another overload.
public static void AddCustomUriFunction (string functionName, Microsoft.OData.UriParser.FunctionSignatureWithReturnType functionSignature);
static member AddCustomUriFunction : string * Microsoft.OData.UriParser.FunctionSignatureWithReturnType -> unit
Public Shared Sub AddCustomUriFunction (functionName As String, functionSignature As FunctionSignatureWithReturnType)
Parameters
- functionName
- String
The new custom function name
- functionSignature
- FunctionSignatureWithReturnType
The new custom function signature
Exceptions
Arguments are null, or function signature return type is null
Throws if custom function signature overload already exists