GitHub
Download
Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
Domain_Create
Domain_Destroy
AbortTransaction
Connect
Create
CreateTransaction
CreateWaitObject
DestroyTransaction
DestroyWaitObject
Disconnect
DisconnectAll
Execute
ExecuteAsync
ExecuteResult
ExecuteWait
GetConnection
GetDomain
GetLastError
GetSchema
GetStorage
Initialize
InsertNamedObject
IsConnected
LoadData
Open
OpenNamedObject
Query
QueryNamedObject
QueryNamedObjectId
QueryNamedObjectLink
QueryNamedObjectMultiple
QueryStorage
ReleaseAllStorages
ReleaseStorage
RemoveNamedObject
ResetTransaction
StoreData
Uninitialize
WaitableHandle
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup
WDomain::ExecuteAsync
Executes all pending actions of an ActionGroup atomically. If one action fails, no action will modify data.
Same function as
WDomain::Execute
, but the function runs asynchronously.
Syntax
HRESULT
ExecuteAsync(
[in]
HANDLE
p_hTransaction,
[in]
HANDLE
p_hWaitObject
);
Parameter
p_hTransaction
[in]
Type:
HANDLE
Transaction to execute.
Can be one of the standard transactions Transaction::Store or Transaction::Load.
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
WDomain::ExecuteWait
or
WDomain::WaitableHandle
together with a wait function to wait for completion and later read the result with
WDomain::ExecuteResult
.
For more information, see the description of
WDomain::Execute
.
© 2022 Mobiland AG