Edit

Share via


PFCloudScriptExecuteFunctionResult

PFCloudScriptExecuteFunctionResult data model.

Syntax

typedef struct PFCloudScriptExecuteFunctionResult {  
    PFCloudScriptFunctionExecutionError const* error;  
    int32_t executionTimeMilliseconds;  
    const char* functionName;  
    PFJsonObject functionResult;  
    bool const* functionResultTooLarge;  
} PFCloudScriptExecuteFunctionResult;  

Members

error   PFCloudScriptFunctionExecutionError const*
may be nullptr

(Optional) Error from the CloudScript Azure Function.

executionTimeMilliseconds   int32_t

The amount of time the function took to execute.

functionName   const char*
is null-terminated

(Optional) The name of the function that executed.

functionResult   PFJsonObject

(Optional) The object returned from the function, if any.

functionResultTooLarge   bool const*
may be nullptr

(Optional) Flag indicating if the FunctionResult was too large and was subsequently dropped from this event.

Requirements

Header: PFCloudScriptTypes.h

See also

PFCloudScriptTypes members