A delegate type that defines the signature for REST operation handler functions.
public delegate byte[] OperationHandler(NameValueCollection boundVariables,
JsonObject operationInput,
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.) |
operationInput | A JsonObject instance with the input for the operation. |
outputFormat | The requested output format, for example "json". |
requestProperties | Well-known properties of the request. |
responseProperties | Well-known properties for the response. |