Assembly: System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)
public IAsyncResult BeginExecute( InstanceHandle handle, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, Object state )
- Type: System.Runtime.DurableInstancing.InstanceHandle
An instance handle.
- Type: System.Runtime.DurableInstancing.InstancePersistenceCommand
The command to be executed.
- Type: System.TimeSpan
The timeout value for the command execution.
- Type: System.AsyncCallback
The asynchronous callback delegate that receives notification of the completion of the asynchronous operation.
- Type: System.Object
The state information.
Return ValueType: System.IAsyncResult
The state of the asynchronous operation.
A host calls the 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 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.