GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
AbortActionGroup
AddClass
ClassAddRef
ClassAddRefById
ClassRelease
ClassReleaseById
Close
Create
CreateActionGroup
CreateWaitObject
DestroyActionGroup
DestroyWaitObject
Execute
ExecuteAsync
ExecuteResult
ExecuteWait
GetLastError
GetSchema
InsertNamedObject
Load
Open
RegisterEventClient
RemoveNamedObject
ResetActionGroup
SetLastError
SetSchema
Store
UnregisterEventClient
Update
WaitableHandle
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup

UStorage::ExecuteAsync

Executes all pending actions of an ActionGroup atomically. If one action fails, no action will modify data.
Same function as UStorage::Execute, but the function runs asynchronously.

Syntax

HRESULT ExecuteAsync(
[in] HANDLE p_hActionGroup,
[in] HANDLE p_hWaitObject
);

Parameter

p_hActionGroup [in]
Type: HANDLE
ActionGroup to execute.
p_hWaitObject [in]
Type: HANDLE
Handle to a WaitObject that will be used.
Can be NULL. In this case, the default (global) WaitObject is used.

Return value

S_OK or an error from the Error Codes.

Remarks

You can use UStorage::ExecuteWait or UStorage::WaitableHandle together with a wait function to wait for completion and later read the result with UStorage::ExecuteResult.
For more information, see the description of UStorage::Execute.
© 2022 Mobiland AG