Calls a cloud function.
Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax
public static Task<T> CallFunctionAsync<T>( string name, IDictionary<string, Object> parameters, CancellationToken cancellationToken )
Parameters
- name
- Type: SystemString
The cloud function to call. - parameters
- Type: System.Collections.GenericIDictionaryString, Object
The parameters to send to the cloud function. This dictionary can contain anything that could be passed into a ParseObject except for ParseObjects themselves. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Type Parameters
- T
- The type of data you will receive from the cloud function. This can be an IDictionary, string, IList, ParseObject, or any other type supported by ParseObject.
Return Value
Type: TaskTThe result of the cloud call.
See Also