Click or drag to resize
IAppDestroyDraftAsyncT Method (String, String, FuncResponse, T, AsyncHandle)

Removes the draft of an object.

The children of the draft object (if any) are removed as well.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
Task<T> DestroyDraftAsync<T>(
	string id,
	string sourceId,
	Func<Response, T> onResult,
	AsyncHandle asyncHandle = null
)

Parameters

id
Type: SystemString
Identifier of the draft object to remove This parameter is mandatory.
sourceId
Type: SystemString
Identifier of the source object (the object from which a draft was created).
onResult
Type: SystemFuncResponse, T
Continuation function
asyncHandle (Optional)
Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request

Type Parameters

T

Return Value

Type: TaskT
See Also