InstanceStore.BeginExecute Method (InstanceHandle, InstancePersistenceCommand, TimeSpan, AsyncCallback, Object)
Assembly: System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)
public IAsyncResult BeginExecute( InstanceHandle handle, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state )
An instance handle.
The command to be executed.
The timeout value for the command execution.
The asynchronous callback delegate that receives notification of the completion of the asynchronous operation.
The state information.
Return ValueType: System.IAsyncResult
The state of the asynchronous operation.
A host calls 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.method to execute a persistence command against an instance handle asynchronously. The host obtains the instance handle by invoking the
Available since 4.0