GitHub
Download
Forum
Overview
Tutorial
C++ API
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
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
int
ExecuteAsync(
IntPtr
p_hActionGroup,
IntPtr
p_hWaitObject
);
Parameter
p_hActionGroup
Type:
IntPtr
ActionGroup to execute.
p_hWaitObject
Type:
IntPtr
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