InstanceStore::BeginExecute Method
Asynchronously executes persistence commands such as LoadWorkflowCommand and SaveWorkflowCommand.
Assembly: System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)
public:
IAsyncResult^ BeginExecute(
InstanceHandle^ handle,
InstancePersistenceCommand^ command,
TimeSpan timeout,
AsyncCallback^ callback,
Object^ state
)
Parameters
- handle
- Type: System.Runtime.DurableInstancing::InstanceHandle
An instance handle.
- command
- Type: System.Runtime.DurableInstancing::InstancePersistenceCommand
The command to be executed.
- timeout
- Type: System::TimeSpan
The timeout value for the command execution.
- callback
- Type: System::AsyncCallback
The asynchronous callback delegate that receives notification of the completion of the asynchronous operation.
- state
- Type: System::Object
The state information.
A host calls the BeginExecute(InstanceHandle, InstancePersistenceCommand, TimeSpan, AsyncCallback, Object) method to execute a persistence command against an instance handle asynchronously. The host obtains the instance handle by invoking the CreateInstanceHandle() method. The instance handle may be bound to entities that represent the context and subject of the command, such as an instance, instance owner, or instance lock. Only one command may be issued against an instance handle at a time.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.