A delegate type that defines the signature for REST resource handler functions.
    public delegate byte[] ResourceHandler(NameValueCollection boundVariables,
        string outputFormat,
        string requestProperties,
        out string responseProperties);| Paramter | Description | 
|---|---|
| boundVariables | A collection of the IDs of sub-resources in collection resources (e.g. The bound variable "LayersID" for a collection resource called "Layers" contains the ID of the sub-resource.) | 
| outputFormat | The requested output format, for example "json". | 
| requestProperties | Well-known properties of the request. | 
| responseProperties | Well-known properties for the response. |