GenericObjectCreateChildAsyncT Method (AsyncHandle, FuncResponse, T, GenericObjectProperties, GenericObjectProperties) |
Async creation of child generic object
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax public Task<T> CreateChildAsync<T>(
AsyncHandle asyncHandle,
Func<Response, T> onResult,
GenericObjectProperties prop,
[OptionalAttribute] GenericObjectProperties propForThis
)
where T : GenericObject
Public Function CreateChildAsync(Of T As GenericObject) (
asyncHandle As AsyncHandle,
onResult As Func(Of Response, T),
prop As GenericObjectProperties,
<OptionalAttribute> propForThis As GenericObjectProperties
) As Task(Of T)
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
A string handle allowing the user to access request status - onResult
- Type: SystemFuncResponse, T
Response handler that is used to change the Response object into an instance of T - prop
- Type: Qlik.EngineGenericObjectProperties
Properties for the child to create - propForThis (Optional)
- Type: Qlik.EngineGenericObjectProperties
Properties for the parent object (this)
Type Parameters
- T
- Type of the child to create
Return Value
Type:
TaskTA task with the created object as result
Implements
IGenericObjectCreateChildAsyncT(AsyncHandle, FuncResponse, T, GenericObjectProperties, GenericObjectProperties)See Also